Tags

,

links:
http://superuser.com/questions/466682/why-use-start-over-call-when-using-batch-files
http://stackoverflow.com/questions/13257571/call-command-vs-start-with-wait-option
http://superuser.com/questions/527812/how-can-i-make-my-bat-file-continue-after-an-error

summary:
– START, Starts a separate window (new cmd.exe) to run a specified program or command.
– CALL, Calls one batch program from another.
– START /W sounds like a process Join.
– starting or calling exe files almost no difference. For batch files big differences.

– java ProcessBuilder default option for a .bat:
C:\Windows\system32\cmd.exe /c yourbatchfile.bat

– cmd /c meaning close after your command
– cmd /k meaning keep after your command

Advertisements