Windows 10: Environment Variables in Windows 10

Discus and support Environment Variables in Windows 10 in Windows 10 Tutorials to solve the problem; Only certain onces like %localappdata%, but onces like %systemroot% or %programdata% work as expected. Unfortunately it does not change the result... Discussion in 'Windows 10 Tutorials' started by Yasak Hayat, Mar 6, 2016.

  1. axe0 New Member

    Environment Variables in Windows 10


    Only certain onces like %localappdata%, but onces like %systemroot% or %programdata% work as expected.

    Unfortunately it does not change the result with the search *Sad
     
  2. Brink
    Brink New Member

    I must admit that I'm stumped as well for why only those few variables will work everywhere else except from the Run dialog, and your Run dialog works fine otherwise. *Confused

    I suppose if this has just started happening recently, you could try doing a system restore using a restore point dated before it started to hopefully undo whatever caused it.
     
    Brink, Jul 5, 2016
    #17
  3. axe0 New Member
    I honestly have no idea when it started to occur, I've recently been very busy with my other problem, but I only have 1 restore point which is created by a forced maintenance but after I found out about the problem.
     
  4. Environment Variables in Windows 10

    The only difference might be System vs. User variables
    I don't know why though

    Do you have a standard Local account to test?
     
    Slartybart, Jul 5, 2016
    #19
  5. axe0 New Member
    Just tested, no problems on the local account.
     
  6. AndreyT Win User
    This specific issue is global. It is not specific to your machine. Nobody can access 'Change my environment variables' link in User Accounts.

    This is a known bug in Windows 10. It was introduced in November (1511) update when Microsoft switched to the new environment variable editor. Microsoft is well aware of this issue. Hopefully, it will be fixed in the upcoming major update.

    This bug (along with regedit crash and some others) is one of those indicator issues: as long as it is there, Windows 10 is not considered sufficiently mature for release to general public.
     
    AndreyT, Jul 6, 2016
    #21
  7. axe0 New Member
    Thanks for letting us know about the issue @AndreyT *Smile
     
  8. smirk24 Win User

    Environment Variables in Windows 10

    Are there any useful environment variables that help with performance,the way the computer operates or helps with gaming? If there is any then i am more then interested in knowing them all if its not to much trouble. Thanks in advance*Smile
     
    smirk24, Nov 30, 2016
    #23
  9. Brink
    Brink New Member
    Hello smirk24, *Smile

    Environment variables really don't affect performance. They basically help for using for target paths.
     
    Brink, Nov 30, 2016
    #24
  10. smirk24 Win User
    Oh okay thank you brink
     
    smirk24, Nov 30, 2016
    #25
  11. Brink
    Brink New Member
    You're most welcome. *Smile
     
    Brink, Nov 30, 2016
    #26
  12. Pyprohly Win User
    Some environment variables listed, namely, ’cd’, ‘cmdcmdline’, ‘cmdextversion’, ‘date’, ‘errorlevel’, ‘prompt’, ‘random’, and ‘time’, aren’t environment variables. They’re special terms only available on the command prompt.
     
    Pyprohly, Mar 15, 2017
    #27
  13. Brink
    Brink New Member

    Environment Variables in Windows 10

    Thank you. Noted in list. *Smile
     
    Brink, Mar 15, 2017
    #28
  14. mel897 Win User
    Perhaps there have been some changes in WIndows 10, but currently %HOMEPATH% returns "\users\username". Note: The home drive is not returned. This is important if the user home directory is not on the default location on drive C:

    D:\Users\meljm>echo %homepath%
    \Users\meljm

    D:\Users\meljm>echo %userprofile%
    D:\Users\meljm
     
    mel897, May 2, 2017
    #29
  15. Brink
    Brink New Member
    Hello @mel897, and welcome to Ten Forums. *Smile

    It does indeed only return that with "echo". I'll update the tutorial for this. Thank you.

    Using "cd %homepath%" in the command prompt will open to the full path.

    Using "%homepath%" in Run or the address bar of File Explorer will also open to the full path.
     
    Brink, May 2, 2017
    #30
Thema:

Environment Variables in Windows 10

Loading...
  1. Environment Variables in Windows 10 - Similar Threads - Environment Variables

  2. i need help my school computer isnt working no directory for environment variable

    in Windows 10 Gaming
    i need help my school computer isnt working no directory for environment variable: i need help missing files and no app will download cant reset or do anythging at all https://answers.microsoft.com/en-us/windows/forum/all/i-need-help-my-school-computer-isnt-working-no/ec9a3b99-66a5-4516-a54b-439341f37143
  3. i need help my school computer isnt working no directory for environment variable

    in Windows 10 Software and Apps
    i need help my school computer isnt working no directory for environment variable: i need help missing files and no app will download cant reset or do anythging at all https://answers.microsoft.com/en-us/windows/forum/all/i-need-help-my-school-computer-isnt-working-no/ec9a3b99-66a5-4516-a54b-439341f37143
  4. Powershell breaks with semicolons in the PATH environment variable

    in Windows 10 Gaming
    Powershell breaks with semicolons in the PATH environment variable: I've been going down a rabbit hole with how Powershell processes the PATH environment variable. I am developing a program that helps manage the PATH, and I recently discovered that it has issues when a path containing semicolons is added to the PATH.According to [this comment...
  5. Powershell breaks with semicolons in the PATH environment variable

    in Windows 10 Software and Apps
    Powershell breaks with semicolons in the PATH environment variable: I've been going down a rabbit hole with how Powershell processes the PATH environment variable. I am developing a program that helps manage the PATH, and I recently discovered that it has issues when a path containing semicolons is added to the PATH.According to [this comment...
  6. Powershell breaks with semicolons in the PATH environment variable

    in Windows 10 Network and Sharing
    Powershell breaks with semicolons in the PATH environment variable: I've been going down a rabbit hole with how Powershell processes the PATH environment variable. I am developing a program that helps manage the PATH, and I recently discovered that it has issues when a path containing semicolons is added to the PATH.According to [this comment...
  7. How Do I Combine an Environment Variable?

    in Windows 10 Customization
    How Do I Combine an Environment Variable?: How do I combine an environment variable?Should a combined environment variable be something like this?“C:\mesa3d-24.0.1-release-msvc\x86” + “C:\mesa3d-24.0.1-release-msvc\x64” = “C:\mesa3d-24.0.1-release-msvc\;”...
  8. How Do I Combine an Environment Variable?

    in Windows 10 Gaming
    How Do I Combine an Environment Variable?: How do I combine an environment variable?Should a combined environment variable be something like this?“C:\mesa3d-24.0.1-release-msvc\x86” + “C:\mesa3d-24.0.1-release-msvc\x64” = “C:\mesa3d-24.0.1-release-msvc\;”...
  9. How Do I Combine an Environment Variable?

    in Windows 10 Software and Apps
    How Do I Combine an Environment Variable?: How do I combine an environment variable?Should a combined environment variable be something like this?“C:\mesa3d-24.0.1-release-msvc\x86” + “C:\mesa3d-24.0.1-release-msvc\x64” = “C:\mesa3d-24.0.1-release-msvc\;”...
  10. System PATH ADD variable Environment doesn't work

    in Windows 10 Gaming
    System PATH ADD variable Environment doesn't work: As per this article: https://learn.microsoft.com/en-us/windows/deployment/usmt/usmt-recognized-environment-variables%USERPROFILE%can be entered in search box >Start menu and goes straight to my profile folder, but doesn't work in System ParthTrying to add wget, and do not...