stalker
September 15th, 2004, 02:33 PM
Hey all !!
Does anyone know, how to make make batch files to execute some "user" program (and not Windows cmd apps, like move, xcopy, etc.), and after that execute some other program, and optionally executing them on and on (one after another) ??
It is that, always when I try to lauch more than one application at the time (one after another), cmd prompt always "freezes" after first program execution, and waits till it's terminated (by user request of course), and only then go to the next line in that particular batch file.
help cmd also doesn't list any solution (at least obvious), at least I suppose /C and /K switches are not related to my problem, where /C description saying "Carries out the command specified by string and then terminates" , and /K description saying "Carries out the command specified by string but remains"
Here are two examples of what syntax I've tried. Note that "doze.exe" is just some cmd-line application, that puts "pause" (specified by integer) between lines/strings in batch files.
cd "D:\Nonsetup\Internet\Proxomitron"
call Proxomitron.exe
doze 12
cd "D:\Nonsetup\Internet\SoulSeek"
call slsk.exe
"D:\Nonsetup\Internet\Proxomitron\Proxomitron.exe"
doze 16
xcopy "D:\Nonsetup\Internet\SoulSeek\*.cfg" "F:\MySystem\=ConfigXP\Soulseek\LastConfig\" /Y /Q
doze 12
"D:\Nonsetup\Internet\SoulSeek\slsk.exe"
Thanks for any help, you can give.
Does anyone know, how to make make batch files to execute some "user" program (and not Windows cmd apps, like move, xcopy, etc.), and after that execute some other program, and optionally executing them on and on (one after another) ??
It is that, always when I try to lauch more than one application at the time (one after another), cmd prompt always "freezes" after first program execution, and waits till it's terminated (by user request of course), and only then go to the next line in that particular batch file.
help cmd also doesn't list any solution (at least obvious), at least I suppose /C and /K switches are not related to my problem, where /C description saying "Carries out the command specified by string and then terminates" , and /K description saying "Carries out the command specified by string but remains"
Here are two examples of what syntax I've tried. Note that "doze.exe" is just some cmd-line application, that puts "pause" (specified by integer) between lines/strings in batch files.
cd "D:\Nonsetup\Internet\Proxomitron"
call Proxomitron.exe
doze 12
cd "D:\Nonsetup\Internet\SoulSeek"
call slsk.exe
"D:\Nonsetup\Internet\Proxomitron\Proxomitron.exe"
doze 16
xcopy "D:\Nonsetup\Internet\SoulSeek\*.cfg" "F:\MySystem\=ConfigXP\Soulseek\LastConfig\" /Y /Q
doze 12
"D:\Nonsetup\Internet\SoulSeek\slsk.exe"
Thanks for any help, you can give.