Environmental Variables Unexpected Behaviour


  1. Posts : 16
    Windows 10
       #1

    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.
    Last edited by shag00; 29 Feb 2016 at 07:57.
      My Computer


  2. Posts : 414
    Windows 10 Pro
       #2

    shag00 said:
    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.
    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.)

    shag00 said:
    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.


    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.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:16.
Find Us




Windows 10 Forums