D
djc
using sc.exe (manages services) as an example, when issuing several
commands one after another will the first finish before going on to the next
command? for example:
sc \\computername stop servicename
sc \\computername start servicename
1) will the service finish stopping before the next line issues the start
command in this case?
2) is it the default behavior of batch files to finish one command
completely before going to the next? or does it depend on the command?
3) If the answer is that each command completes before going on to the next,
which I think it is but I am looking for verification, is there a way to
change that? for example lets say each line of a batch file kicks of a file
copy process and you don't want to wait for each on to finish before going
on to the next one... how would you arrange that?
Thanks in advance... any info is greatly appreciated.
commands one after another will the first finish before going on to the next
command? for example:
sc \\computername stop servicename
sc \\computername start servicename
1) will the service finish stopping before the next line issues the start
command in this case?
2) is it the default behavior of batch files to finish one command
completely before going to the next? or does it depend on the command?
3) If the answer is that each command completes before going on to the next,
which I think it is but I am looking for verification, is there a way to
change that? for example lets say each line of a batch file kicks of a file
copy process and you don't want to wait for each on to finish before going
on to the next one... how would you arrange that?
Thanks in advance... any info is greatly appreciated.