Password reset and notification emails are now sending correctly.
If you recently requested a password reset, please check your inbox (and spam folder just in case).
You can now reset your password and log in as normal.
Welcome back to PCHF, and thank you for your patience during our migration process!
β The PCHF Team
Welcome to PC Help Forum!
Youβre viewing our community as a guest.
That means you can browse posts, but canβt yet reply or start new topics.
Join us today β it's completely free!
As a member, you'll be able to:
β Get personalized tech support from trusted volunteers
π¦ Work one-on-one with our Malware Removal Specialists
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 βC:\Users\Kevin.Saginian\Desktop\Kevinβ
SETX differs from SET in that it is meant to permanently set variables.
like the SET command, SETX var ββ will clear it but it remains in the Registry.
you can delete SETX created variables via Control Panel > System > Advanced tab > Environment Variable button.
if you wanted to do that from a .BAT file, you would use - reg delete hkcu\environment /f /v {your variable} if you set it as a User variable.
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 βUGII_ENV_FILEβ
and it is not working, telling me βERROR: Access is Deniedβ
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 going wrong there?
Again thank you lol I shouldnβt have any more questions after this
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment