theweaselking: (Default)
[personal profile] theweaselking
A few days ago I was looking for a way to script edits to the system path on a set of Win2K and WinXP boxes. Specifically, I wanted something I could run as a part of a batch job to add an item to the system Path and have it stay past the closure of the window in a way that a simple path=%PATH%;$NEW_ENTRY does not.

So I asked [livejournal.com profile] cerebrate, and his solution is simple, well-documented, works, and is easily modifiable once you read it to see how Registry read/writes work in VBScript.

For someone (like myself) who knew he wanted to do registry read/writes but had no idea of a practical way how and was hitting a wall in finding a tutorial, it's genius.

And so now I share it for anyone else in the same boat.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

Profile

theweaselking: (Default)theweaselking
Page generated Aug. 13th, 2025 04:59 pm