quote:
Originally posted by foaly
quote:
Originally posted by CookieRevised
What second half? What you mean by "synergys is still running"? You mean taskkill doesnt kill the synergys process ?
I ask this because it makes little sense that by adding START to everything it all of a sudden does work. Because you should not explicitly need the START command to start a program!
Ehm as far as I know you do...
try this as a batch file:code:
mspaint.exe
notepad.exe
pause
start mspaint.exe
start notepad.exe
it will only start notepad after paint is closed...
but the second part will start them both...
Ah, programs opening a window and keep on running... forgot about that. I never use a batch file to start a windows based program or program which keeps running and I didn't knew that ultramon or synergys with those command line parameters would still be running after doing their thing, stupid me.
For all other normal batch file stuff (as I like to call it now ) you should not use START though as it opens the program in another console thread and thus you can't control, check or redirect the output or even know if program A starts before program B.
You learn something new every day. Thanks foaly