Page 1 of 1

restart xyplorer to capture new environment variable?

Posted: 18 Jul 2016 08:21
by voirin
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.

Re: restart xyplorer to capture new environment variable?

Posted: 18 Jul 2016 18:35
by klownboy
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.

Re: restart xyplorer to capture new environment variable?

Posted: 18 Jul 2016 19:17
by voirin
Thanks for the quick reply, and for confirming that I am not going crazy.