[thelist] I have a small need...

Joshua Olson joshua at waetech.com
Wed Oct 6 14:49:19 CDT 2004

> -----Original Message-----
> From: jsWalter
> Sent: Wednesday, October 06, 2004 3:21 PM
> ...for a windows-based, cmd-line, JS file (or batch) that will
> modifiy the System Enviornmental Variables.
> Below is what I need created. Path needs to be appended.
> Can ayone help?

Batch is good for this.

Something like this should work:

SET perl=U:\usr\local\bin
SET mySQL=U:\etc\mysql\bin
... etc ...
SET path=%path%;%perl%;%mysSQL%

Order is important.  Make sure the static SET's are executed before those
sets that "include" the static SET's, such as path.

Joshua Olson
Web Application Engineer
WAE Tech Inc.

More information about the thelist mailing list