avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • November 13, 2019, 07:37 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: A Valuable Lesson Learned About Using Program Lanuchers Like DirectAccess  (Read 2419 times)


  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
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 SysinternalsMicrosoft Process Explorer and sure enough, I was right.

1-30-2008 10-08-06 AM.png

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.