We have a pretty weird setup here in our company, with quite a few windows environment variables involved. I faced a problem yesterday when I had to create windows shortcuts (.lnk) using variables I set on the command line with setx. The shortcuts were only working when I restarted XYplorer - or used windows explorer.
To reproduce my struggle, you can create a variable and a shortcut and see how it works:
Code: Select all
SETX XYPLOREREXE "<path to your exe>"
- Create a shortcut that opens anything
- Edit the shortcut, replace the command by
Code: Select all
%XYPLOREREXE%
Cheers
André