in reply to Trying to use [cpan://Win32::Env::Path] to change Windows Path Variable?
The Win32 command to append the path is: path = %PATH%;newdir
I don't know why this module isn't working for you, but this "path=" command will work.
I hope that it is clear that when you change the environment PATH variable like this, this only applies only as long as your program or shell that did this is running. The need for something like this is seldom. I am curious as to your application?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trying to use [cpan://Win32::Env::Path] to change Windows Path Variable?
by matze77 (Friar) on Nov 18, 2009 at 09:07 UTC |