Computer Hope

Microsoft => Microsoft DOS => Topic started by: abc123 on August 03, 2004, 12:54:35 AM

Title: BATCH: running 3 progs simultaneously
Post by: abc123 on August 03, 2004, 12:54:35 AM
URGENT !!! URGENT !!! URGENT !!! URGENT !!! URGENT !!!


Hey guys....

I've an issue regardin batch files...

i wan to know the method to execute calc.exe, mspaint.exe, notepad.exe SIMULTANEOUSLY...

i'm using win NT 4, n this is wat i've tried out :

@echo off
"F:\WINDOWS\system32\notepad.exe"
"F:\WINDOWS\system32\calc.exe"
"F:\WINDOWS\system32\mspaint.exe"

When i run this bat file, its openin notepad first, only when i close this window. calc gets executed n thereafter mspaint after terminatin calc...

CAN I EXECUTE ALL 3 APPLICATIONS AT A TIME

Plz help

ThanQ Very Much

Alice
http://www.computerhope.com/YaBBImages/huh.gif
URGENT !!!URGENT !!!URGENT !!!URGENT !!!URGENT !!! ???
Title: Re: BATCH: running 3 progs simultaneously
Post by: MalikTous on August 03, 2004, 08:48:02 AM
Try using a shortcut link vice a batch file. The DOS emulator in NT, 2K, and XP won't multitask. You may need to install Windows Scripting Host and learn how to use that...
Title: Re: BATCH: running 3 progs simultaneously
Post by: johnwill on August 03, 2004, 09:21:33 AM
AutoIt http://www.autoitscript.com/autoit3/ will do that with ease. :)