|
how to start a .cmd minimized |
|
Thursday, 20 May 2010 |
|
Lars, you will need to use something like:
CommandLine=cmd.exe /c start /min /b batchfile.bat
an alternative to this is to use a VBS script with a line similar to this:
oShell.Run Chr(34) & "batchfile.bat" & Chr(34), 7, True
the window display can be changed by changing the integer - see http://msdn.microsoft.com/en-us/library/d5fk67ky%28VS.85%29.aspx
Phil
Read more at: |