Dave said:
setx.exe from the resource kit.
Unfortunately I won't have it. I tried the following
In a batch file, set path=d:\tools;%path% and then dump this to
a reg file.
Then call the reg file. For some reason, it still doesn't get
imported.(I click Yes when it prompts me)
My reg file looks like this
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]
"Path"="d:\tools;D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System
32"
Any idea why Path would not get appended into the registry ?
Thanks
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
| Hi,
|
| I am wondering how can I append path to existing path in the registry.
| I want to add d:\tools for the PATH variable in
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
| Manager\Environment]
|
|
| Thanks.