Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set objShell = WScript.CreateObject("WScript.Shell")
Set colUsrEnvVars = objShell.Environment("USER")
NewPath = "C:\MyNewPath"
colUsrEnvVars("PATH") = colUsrEnvVars("PATH") & ";" & NewPath
Wscript.Echo colUsrEnvVars("PATH")
Set objShell = WScript.CreateObject("WScript.Shell")
Set colUsrEnvVars = objShell.Environment("USER")
oldPath = colUsrEnvVars("PATH")
NewPath = "C:\MyNewPath"
'Append the new path info
colUsrEnvVars("PATH") = colUsrEnvVars("PATH") & ";" & NewPath
Wscript.Echo colUsrEnvVars("PATH")
'Now reset it back to the old path
colUsrEnvVars("PATH") = oldPath
Wscript.Echo colUsrEnvVars("PATH")