fabiochelly
14th February 2004 18:02 UTC
Execute a batch file in hidden mode
Currently, I'm using ExecWait to launch batch files or execute commands as 'net start'.
The problem is that it displays a DOS window.
Is there a way to hide it, or better, to catch the output to show it in the details window?
Joost Verburg
14th February 2004 18:06 UTC
Use the nsExec plug-in.
fabiochelly
14th February 2004 22:03 UTC
Thank you. It seems to be exactly what I was looking for.
Does those commands work like Exec or ExecWait?
Joost Verburg
14th February 2004 22:24 UTC
It works in the same way.
fabiochelly
15th February 2004 10:28 UTC
In the same way of Exec
or ExecWait?
Vytautas
15th February 2004 11:38 UTC
If you mean when does the plugin return the control to the installer then that would be like ExecWait. It will return the control when the batch file terminates, although if the batch file does not wait for other commands to complete then the plugin will not wait either.
Vytautas
fabiochelly
16th February 2004 10:27 UTC
Yhank you very much. It works fine.