For another example of how to do this, you can check out CleanPath.
Note that strat's code in this thread will likely break %PATH% if you use it to change %PATH% (because it doesn't specify a "type" for the value which means a REG_SZ value will be set instead of a REG_EXPAND_SZ value which means you'll probably have unexpanded instances of %SystemRoot%). Luckilly, CleanPath will probably be able to fix it.
- tye (but my friends call me "Tye")In reply to (tye)Re: Setting and changing system variables under win2000
by tye
in thread Setting and changing system variables under win2000
by NaSe77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |