1.    29 Feb 2016 #1
    Join Date : Feb 2016
    Posts : 5
    Windows 10

    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 ComputerSystem Spec
  2.    29 Feb 2016 #2
    Join Date : Aug 2015
    Posts : 369
    Windows 10 Pro

    Quote Originally Posted by shag00 View Post
    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.)

    Quote Originally Posted by shag00 View Post
    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 ComputerSystem Spec

 


Similar Threads
Thread Forum
General Tips Environment Variables in Windows 10
Complete List of Environment Variables in Windows 10 Environment variables are a set of dynamic named values that can affect the way running processes will behave on a computer. The variables can be used both in scripts and on the command line....
Tutorials
How do I change environment variables in regular User account???
(The number of primitive bugs in version 1511 is just imagination-defying.) Open Control Panel. Open User Accounts applet. On the left there's a link that says Change my environment variables. 49090 Clicking on that link... does nothing...
General Support
Solved Deleted Environment Variables in Windows 10
I think i accidentally deleted some system variables in my windows 10 OS. What are the defaults variables and their values. Need Help This is my variables33912 and i found a post in your forum Environment Variables in Windows 10 - Windows...
General Support
Odd software behaviour
In my Win10 build 10565 file browser/explorer I usually like to set the folder view to sort by date order. This works fine in Win10 directly. There is sometimes a short delay whilst the folder reorganises itself. However if I THEN use a third party...
Software and Apps
Odd BSOD behaviour
Hello everyone, and I hope you are all doing well. My laptop has recently been subjected to a few BSODs. The first one was about a few weeks ago. The BSODs typically involved the screen going a pink fuzzy texture (graphics messing up), and...
BSOD Crashes and Debugging
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 14:06.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums