











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
| Author |
Dos Batch commands
|
exar07
Senior Member

Registered: May 2001 Location: NC Country: United States State: Certifications: A Few Working on: Good Certs
Total Posts: 322
|
|
Dos Batch commands
I havent made a ms dos batch file in a long time.
What can I do to make two executables run in a batch file?
Only one will open. What command or syntax can I do in the batch file to make one run and then the other one run?
Any suggestions? (Cant do two batch files for what I am trying to accomplish)
__________________
Restart and Try again!
Report this post to a moderator
|
|
08-15-03 05:56 PM
|
|
azimuth40
Senior Member

Registered: Jun 2002 Location: Country: USA State: CA Certifications: A+, Net+, iNet+, Server+ Working on: MCSA, CCNA
Total Posts: 2073
|
|
unless you want a new copy of command.com to run simply list each exe on a separate line with a fully qualified file name.
..................
rem this is a batch file
rem this is the first exe
"c:\mydosfolder\something1.exe"
rem command line above is in quotes because rem of greater that 8 letter path segments
rem batch returns here after completion
c:\mydos\some2.com
rem no quotes needed above
command /c some2.exe
rem program above executed via a secondary
rem copy of command.com
exit:
..............
Remember if you are using NT/2K/XP that unless you specifically start a copy of command.com your program will be handled by cmd.exe which has some interaction differences.
Report this post to a moderator
|
|
08-15-03 06:55 PM
|
|
|
Featured site: MCSE, MCSD, CompTIA, CCNA training videos
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON. |
|
ExamNotes forum archive
|