Computing.Net > Forums > Windows XP > Multiple CMD Files launched from 1

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Multiple CMD Files launched from 1

Reply to Message Icon

Name: tcpc
Date: August 22, 2007 at 11:15:19 Pacific
OS: XP
CPU/Ram: 2G/2G
Product: IBM
Comment:

Okay, it has been some time boys and girls since I have been around, but I'm back and the devs have me looking for a way to execute multiple .cmd files from a single .cmd file. Here's the tricky part; each one runs its own course and must have its own command window open. So... any thoughts from my old stomping grounds?

-TC PC 1
-aka TC



Sponsored Link
Ads by Google

Response Number 1
Name: aegis
Date: August 22, 2007 at 13:12:12 Pacific
Reply:

If it can be a batch file, checkout the 'Start' command. It will start an application and proceed with the next batch command.


0

Response Number 2
Name: Razor2.3
Date: August 22, 2007 at 17:27:09 Pacific
Reply:

Start "" 1.cmd
Start "" 2.cmd
Start "" 3.cmd

etc, etc...


0

Response Number 3
Name: tcpc
Date: August 23, 2007 at 05:36:02 Pacific
Reply:

Thanks guys, I actually thought it was that easy but it just wasn't working with the extensions on the .cmd files... so...

start "" 1.cmd (command extension)

the extensions actually have to start on different servers; server1 server2 etc.

any more thoughts on this?

thanks all
TC


0

Response Number 4
Name: aegis
Date: August 23, 2007 at 09:43:26 Pacific
Reply:

I'm not familiar with 'CMD' files and I'm not a networking expert, but might something like the following work?

start \\server1\folderx\file1.cmd
start \\server2\folderx\file2.cmd
start \\server2\foldery\file3.cmd
etc


0

Response Number 5
Name: Razor2.3
Date: August 23, 2007 at 21:29:49 Pacific
Reply:

.CMD is WinXP's "official" .BAT.

tcpc, VBScript will do what you need. You'll need to know VBScript, but it isn't too difficult to make a wrapper .VBS to run your .CMD files.


0

Related Posts

See More



Response Number 6
Name: aegis
Date: August 24, 2007 at 10:24:03 Pacific
Reply:

Thanks Razor! I started off the day learning something new.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Multiple CMD Files launched from 1

CMD file - keep window open in XP www.computing.net/answers/windows-xp/cmd-file-keep-window-open-in-xp/134050.html

cmd file in xp www.computing.net/answers/windows-xp/cmd-file-in-xp/156087.html

Batch file, text from 1 to another www.computing.net/answers/windows-xp/batch-file-text-from-1-to-another/173954.html