Archive: Execute a batch file in hidden mode


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?


Use the nsExec plug-in.


Thank you. It seems to be exactly what I was looking for.
Does those commands work like Exec or ExecWait?


It works in the same way.


In the same way of Exec
or ExecWait?


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


Yhank you very much. It works fine.