• Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Malware Removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recent content by kmsaginian

  1. K

    Solved Adding/Removing Environment Variables Through Bat FIle

    Removes just fine when I enter it into the Administrative Command Prompt, just not when I try to run it through the bat.
  2. K

    Solved Adding/Removing Environment Variables Through Bat FIle

    Thank you. One other thing I am encountering is this: When I execute the bat file to add, the command prompt shows up and states the variables have been added. When I execute the bat to remove (as an admin), the command prompt flashes for a second and no changes have been made. Any ideas what's...
  3. K

    Solved Adding/Removing Environment Variables Through Bat FIle

    Are there any syntax differences between trying to execute the REG delete through a batch file vs directly through the command prompt? Thank you for your continued input.
  4. K

    Solved Adding/Removing Environment Variables Through Bat FIle

    Also tried changing the user from myself to windows at the start of the command prompt by typing: cd C:\WINDOWS\system32
  5. K

    Solved Adding/Removing Environment Variables Through Bat FIle

    Thank you! How about if I set it as a system variable? Clearing the user variable worked with: REG delete “HKCU\Environment” /F /V “UGII_ENV_FILE” But I'm trying to clear the system variable with: REG delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /F /V...
  6. K

    Solved Adding/Removing Environment Variables Through Bat FIle

    Hello there. I have added some environment variables to my system by writing this txt file, then executing it as a bat file. Was wondering how I could rewrite the same txt file to remove those environment variables. Best regards, Txt file contents: @echo off setx UGII_ENV_FILE...