Windows 10: Environmental variables different in CMD and Windows Explorer

Discus and support Environmental variables different in CMD and Windows Explorer in Windows 10 Customization to solve the problem; When I open environmental variables window I get the following environmental variables:... Discussion in 'Windows 10 Customization' started by SanjaDzeletovic, Oct 25, 2019.

  1. Environmental variables different in CMD and Windows Explorer


    When I open environmental variables window I get the following environmental variables: C:\msys64\mingw64\bin;C:\msys64\mingw64\lib;C:\msys64\usr\bin;%GAMSDIR%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\MATLAB\R2019a\runtime\win64;C:\Program Files\MATLAB\R2019a\bin;C:\Program Files\MATLAB\R2015b\runtime\win64;C:\Program Files\MATLAB\R2015b\bin;C:\Program Files\MATLAB\R2019a\bin\win64;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files\TortoiseHg\;

    When I run in cmd env I have much more env variables that I don't know how to remove:
    PATH=/mingw64/bin:/mingw64/lib:/usr/bin:/c/GAMS/win64/27.2:/c/GAMS/win64/27.2/gbin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Program Files/MATLAB/R2019a/runtime/win64:/c/Program Files/MATLAB/R2019a/bin:/c/Program Files/MATLAB/R2015b/runtime/win64:/c/Program Files/MATLAB/R2015b/bin:/c/Program Files/MATLAB/R2019a/bin/win64:/c/Program Files/TortoiseSVN/bin:/c/Program Files/Git/cmd:/c/Program Files/TortoiseHg:/c/Users/sbajic/AppData/Local/Continuum/Anaconda2/Anaconda1/Anaconda2:/c/Users/sbajic/AppData/Local/Continuum/Anaconda2/Anaconda1/Anaconda2/Scripts:/c/Users/sbajic/AppData/Local/Continuum/Anaconda2/Anaconda1/Anaconda2/Library/bin:/c/Users/sbajic/AppData/Local/Continuum/Anaconda2:/c/Users/sbajic/AppData/Local/Continuum/Anaconda2/Scripts:/c/Users/sbajic/AppData/Local/Continuum/Anaconda2/Library/bin:/c/Users/sbajic/Anaconda2:/c/Users/sbajic/Anaconda2/Scripts:/c/Users/sbajic/Anaconda2/Library/bin:/c/Users/sbajic/AppData/Local/Microsoft/WindowsApps


    Could you please advise how can I remove these environmental variables that seem to be hidden and were entered by error?
    Thank you.

    :)
     
    SanjaDzeletovic, Oct 25, 2019
    #1

  2. Infrared and Environmental variables

    Why does my pc show infrared and pictures? Also, why is One drive in environmental variables?
     
    John Marchetti, Oct 25, 2019
    #2
  3. environmental variable os says NT?!

    Hi,

    We recommend that you post your concern about changing your environmental variable OS to Windows 10 here:
    TechNet forums.
    TechNet
    forums
    is a community that is mainly composed of IT professionals who can cater to the complexity of your concern. They can give you the advanced steps and information that you need.

    Regards.
     
    Joshua Her1, Oct 25, 2019
    #3
  4. shag00 Win User

    Environmental variables different in CMD and Windows Explorer

    Environmental Variables Unexpected Behaviour


    I wanted to include some environmental variables today and found some strange goings on. The variable I wanted to change was simply to add a PATH.

    In the case of changing a user's variables:
    It would be accepted but when I did a PC restart I was presented with a new blue screen that gave me the following options:
    1/ Continue (which restarted the PC)
    2/ Use a device
    3/ Troubleshoot
    4/ Turn off your PC

    In the case of changing the system variables:
    It would take me to the new interface and let me add my new path (through folder browse) but it would overwrite the last entry in the list. Adding a second new path did the same thing.

    Anyone have any ideas?

    After this post I went back in and tried using the edit line facility. I was able to exit out of the environmental variables window but I was not able to Click OK on the System Properties Window. Further I was not able to close this window at all - including the X in the top right hand corner.

    Finally found the problem, I was using a file location for 1 of the paths.
     
    shag00, Oct 25, 2019
    #4
Thema:

Environmental variables different in CMD and Windows Explorer

Loading...
  1. Environmental variables different in CMD and Windows Explorer - Similar Threads - Environmental variables different

  2. is it safe to delete these user environmental variables?

    in Windows 10 Network and Sharing
    is it safe to delete these user environmental variables?: is it safe to delete one of these? Path, TEMP or TMP. Or should i just leave them bewill i face issues if i DO delete them? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-these-user-environmental/b095ec98-aed9-4250-bc97-f56b089b96e8
  3. is it safe to delete these user environmental variables?

    in Windows 10 Gaming
    is it safe to delete these user environmental variables?: is it safe to delete one of these? Path, TEMP or TMP. Or should i just leave them bewill i face issues if i DO delete them? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-these-user-environmental/b095ec98-aed9-4250-bc97-f56b089b96e8
  4. is it safe to delete these user environmental variables?

    in Windows 10 Software and Apps
    is it safe to delete these user environmental variables?: is it safe to delete one of these? Path, TEMP or TMP. Or should i just leave them bewill i face issues if i DO delete them? https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-delete-these-user-environmental/b095ec98-aed9-4250-bc97-f56b089b96e8
  5. How to recover Environmental Variables that were deleted

    in Windows 10 Gaming
    How to recover Environmental Variables that were deleted: Now I can't access CMD or Powershell from start menu. Can't elevate to Admin. I tried: 1. booting into safe mode and did system restore with command prompt2. Running SFC and DISM These methods have not workedAlso, when I try to reset the pc, it doesn't load, just freezes. How...
  6. How to recover Environmental Variables that were deleted

    in Windows 10 Software and Apps
    How to recover Environmental Variables that were deleted: Now I can't access CMD or Powershell from start menu. Can't elevate to Admin. I tried: 1. booting into safe mode and did system restore with command prompt2. Running SFC and DISM These methods have not workedAlso, when I try to reset the pc, it doesn't load, just freezes. How...
  7. Modify System Environmental Variables

    in Windows 10 Customization
    Modify System Environmental Variables: Dear staff! I need to modify the System Environmental Variables specifically the PATH variable from my local user already set as administrator but these options are still greyed out for me, in order to setup Android Studio together with Flutter component. I already tried this...
  8. Environmental variable/path

    in Windows 10 Installation and Upgrade
    Environmental variable/path: Hello community, I need some help. I was attempting to download Oracle JDK/JRE and somehow corrupted my path. Can anyone tell me the default path setting that I need to restore? I appreciate your help....
  9. Environmental Variables Unexpected Behaviour

    in Windows 10 Support
    Environmental Variables Unexpected Behaviour: I wanted to include some environmental variables today and found some strange goings on. The variable I wanted to change was simply to add a PATH. In the case of changing a user's variables: It would be accepted but when I did a PC restart I was presented with a new blue...
  10. Environmental Variables

    in Windows 10 Support
    Environmental Variables: I'm trying add "EUINC" to my Environmental Variables. It contains 7 include directories. EUINC:=\eu\arwen;E:\eu\myinclude;E:\eu\football;e:\eu\IDEwin32lib;e:\eu\win32dib;e:\eu\winclass; e:\eu\win32lib\include This worked fine with Windows 7 and 8.1. But It seems...