I'm having a problem with a script which installs some software (among other things). Once the new software is installed, the script calls a configuration batch file provided with the software. Unfortunately, the batch job fails because it expects its application to be in the system's PATH, but because the batch is run under the process of the script, the new path isn't visible.
Is there a way to make the script process aware of the new PATH?
PSC
Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
Is there a way to make the script process aware of the new PATH?
Code:
Set oShell = CreateObject("Wscript.Shell")
oShell.Run "msiexec /passive /i somemsi.msi"
oShell.Run "batchscript params" [red][b]<-- Broken Here[/b][/red]
PSC
Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers