Computer Hope

Microsoft => Microsoft DOS => Topic started by: ankush on May 16, 2008, 09:27:29 AM

Title: can we run more than three scripts at a time
Post by: ankush on May 16, 2008, 09:27:29 AM
Hi,

I have few ".vbs" scripts, in general i am using batch file to run them by placing
 "cscript path for the vbs script1"
"cscript path for the vbs script2"
"cscript path for the vbs script3"
"cscript path for the vbs script4"
if i place in this way all the scripts are running but they are running in sequence like script1 then script 2 etc.
is there any way we can run them in paralle? can we run all of them at a time.

thank you
Title: Re: can we run more than three scripts at a time
Post by: macdad- on May 16, 2008, 02:12:20 PM
Quote
I have few ".vbs" scripts, in general i am using batch file to run them by placing

ok first you would have to build the scripts into applications

Quote
if i place in this way all the scripts are running but they are running in sequence like script1 then script 2 etc.

yes this is possible by simply saying
Code: [Select]
start "script1"
start "script2"
etc.

Quote
is there any way we can run them in paralle?

no srry, commands in batch cant be run similtaneously, because DOS reads batch files sequentially