views:

450

answers:

1

what parameters should i use to start a console app minimized or hidden?

is this possible without using a 3rd party program?

with a batch file

+5  A: 
start /min c:\windows\cmd.exe

Then you can pass whatever parameters to cmd.exe you need, for example:

To process a command then close:

start /min c:\windows\cmd.exe /c dir

To process a command but stay open:

start /min c:\windows\cmd.exe /k dir
Factor Mystic