I need to run a vbs asynchronously. I'm going to have to call cscript to do this.

I'm using the syntax:

"[SystemFolder]cscript.exe test.vbs //B //NoLogo"

and I'm running it deferred in the system context.

See any issues with this?

Cheers.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
It's poor practise to use the //B switch (supress errors and prompts): you should be handling errors not pretending they're not there. Also, whatever it's doing, make sure you have a companion which will undo TEST.VBS's action(s) for uninstallation. Other than that, I can't see any problem.
Answered 09/13/2007 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity