You can do this by using VBScript in a logonscript; hereafter an example:
<pre>Dim CurrPath
Dim NewPath
Set WshShell = CreateObject(“WScript.Shell”)
Set WshSystemEnv = WshShell.Environment(“SYSTEM”)
CurrPath = WshSystemEnv(“PATH”)
NewPath = CurrPath & “;c:\mydir;” ‘ set the “;c:\mydir;” to your own needs
<b>WshSystemEnv(”PATH”) = NewPath</b>
</pre>
Discuss This Question: 6  Replies