Today I learned a valuable lesson that I want to pass on to you all.
I was trying to make changes to my environment - changing my PATH, CLASSPATH, JAVA_HOME, etc. but nothing seemed to take affect. Every time I opened up a fresh shell the changes weren't there. I ran alternate shells like PrompPal and the changes weren't there either. I started up XYplorer and launched some programs, all of them without the changes.
Then it dawned on me what was happening. I brought up
Microsoft Process Explorer and sure enough, I was right.
I was launching *everything* via DirectAccess - including XYPlorer. This means that the environment in place when DirectAccess was launched, was being transmitted to each program it launched and every program launched by those, etc.
So whenever you make any changes to your environment, make sure you restart any of your launchers so those changes take effect.
And don't forget to restart any applications that were started by the launcher as they will continue to keep the older environment even when you restart your launcher.