Hi, if i do the following:
1. open xyplorer
2. go to system > advanced > environ. variables > system variables > ... then create my new variable
3. shift-right click on folder in xyplorer (from 1 above) to open new command prompt
4. echo the new environment variable i just created
It does not show the new environment variable. I have to:
5. shut down xyplorer
6. open new xyplorer
7. shift-right click on folder in xyplorer (from 6 above) to open new command prompt
8. echo new variable shows correct update
Is this intended bahavior? I was wondering why my new variable was not echoing even after using a new command prompt. Seems xyplorer passes the environment variable data *it* sees when it first starts, to each new cmd prompt session.
restart xyplorer to capture new environment variable?
-
klownboy
- Posts: 4397
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440
Re: restart xyplorer to capture new environment variable?
Yes, unfortunately you'll need a restart. See this post viewtopic.php?f=5&t=9082&p=80930&hilit=perm+variable for further information. Depending on what you are doing you might be able to use Perm variables at least for use in XYplorer or start a new instance. Actually, a second instance will not pick up the new or changed environmental variable.
Last edited by klownboy on 18 Jul 2016 19:18, edited 1 time in total.
Re: restart xyplorer to capture new environment variable?
Thanks for the quick reply, and for confirming that I am not going crazy.
XYplorer Beta Club