Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 13-11-2005, 01:08 PM   #1 (permalink)
In The Zone
 
hansraj's Avatar
 
Join Date: Sep 2004
Location: Pune
Posts: 436
Default is this possible???


hey guys please help me out......... i want to run more than one exe

files at the same given time in a set order.... earlier in "windows me" i

did the same thing using the batch file but it doesnt work the same way

in windows xp. please tell me if it is possible using batch files only

n if yes then what r the command??????????? n whats the other alternative
hansraj is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 13-11-2005, 02:10 PM   #2 (permalink)
Wise Old Owl
 
alib_i's Avatar
 
Join Date: Jun 2004
Location: omnipresent
Posts: 1,191
Default

You have to use the "start" command for that.
ie .. instead of
Code:
"C:\this folder\thatfile.exe"
"C:\this folder\thatfile1.exe"
"C:\this folder\thatfile2.exe"
You need to write
Code:
start "" "C:\this folder\thatfile.exe"
start "" "C:\this folder\thatfile1.exe"
start "" "C:\this folder\thatfile2.exe"
in your batch file
( dont forget the "" just after start )
This is because windows stops for one command to end before it starts the next one. When you use start command .. the command is executed and batch file understands that command is over (the execution of start command is over ) and it can proceed to next command.

-----
alibi
__________________
What I've felt, What I've known; Never shined through in what I've shown
Never free, Never me; So I dub thee unforgiven
-Metallica
alib_i is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by gforz
- by Who

Advertisement




All times are GMT +5.5. The time now is 04:50 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2