Windows 10: Environmental Variables Unexpected Behaviour

Discus and support Environmental Variables Unexpected Behaviour in Windows 10 Support to solve the problem; 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.... Discussion in 'Windows 10 Support' started by shag00, Feb 28, 2016.

  1. shag00 Win User

    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, Feb 28, 2016
    #1

  2. environmental variables

    I cant set more than 2 additional paths to my PATH variable.

    everytime I do that it overwrites one of the other paths.
     
    abhijeet vyas, Feb 28, 2016
    #2
  3. Unable to add searchable commands to start menu

    You could add C:\Program Files\emacs\bin to your "Path" environmental variable.

    (Control Panel / System / Advanced System Settings / Environmental Variables)
     
    Frederik Long, Feb 28, 2016
    #3
  4. AndreyT Win User

    Environmental Variables Unexpected Behaviour

    This specific part is a known bug in Windows 10 new PATH variable editor.

    If you hit "New" to create a new entry and then immediately hit "Browse" to populate that new entry, the editor will ignore your new entry and instead overwrite the previous entry in the list with the path you select in "Browse" dialog.

    One workaround for this bug is to type something into the new entry after hitting "New" - just to make sure it is not empty before hitting "Browse". Just a single space or any other character is enough. After that you can hit "Browse", select the path and that new path will go into your new entry, as it should. (Whatever character you typed before will be overwritten.)

    That would most likely mean that you forgot to close some of the "subordinate" dialog windows that were spawned by System Properties window. Like the very same Environment Variables editor. If you hit X in System Properties and it just blinks at you without closing, it means exactly that.
     
    AndreyT, Feb 28, 2016
    #4
Thema:

Environmental Variables Unexpected Behaviour

Loading...
  1. Environmental Variables Unexpected Behaviour - Similar Threads - Environmental Variables Unexpected

  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 variables different in CMD and Windows Explorer

    in Windows 10 Customization
    Environmental variables different in CMD and Windows Explorer: When I open environmental variables window I get the following environmental variables:...
  9. 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....
  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...