Making a DOS based batch program run faster on Windows XP

C

ctspsr

Hi All,

We have a batch script running on a windows XP PC. This PC is
exculsively used to run DOS based batch progams. Are there any tips
and tricks to optimize the batch program run faster?

Regards,
Reddy
 
G

Ghostrider

Hi All,

We have a batch script running on a windows XP PC. This PC is
exculsively used to run DOS based batch progams. Are there any tips
and tricks to optimize the batch program run faster?

Regards,
Reddy

Other than running the DOS programs on a machine that is optimized
for DOS operations, about the only tricks would be to optimize the
batch file that is running in the DOS emulation box. Got an example
to show for critiquing?
 
B

Bob Adkins

Hi All,

We have a batch script running on a windows XP PC. This PC is
exculsively used to run DOS based batch progams. Are there any tips
and tricks to optimize the batch program run faster?

Gosh, I can't think of anything that runs faster than a batch file.
They run instantly, even on very old machines. If the batch file is
calling the copy command, it's probably the HDD or RAM that are slow,
not the batch file.
-

Bob
 
P

Pegasus \(MVP\)

Bob Adkins said:
Gosh, I can't think of anything that runs faster than a batch file.
They run instantly, even on very old machines. If the batch file is
calling the copy command, it's probably the HDD or RAM that are slow,
not the batch file.
-

Bob

I beg to disagree. Batch files are easy to write but are
notoriously slow to run. A properly written compiled
executable will run circles around a batch file, especially
when the batch file must execute a number of loops.
 
B

Bruce Chambers

Hi All,

We have a batch script running on a windows XP PC. This PC is
exculsively used to run DOS based batch progams. Are there any tips
and tricks to optimize the batch program run faster?

Regards,
Reddy


It'd be a lot faster to rewrite the DOS batch file as a Visual Basic
script.


--

Bruce Chambers

Help us help you:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin

Many people would rather die than think; in fact, most do. -Bertrand Russell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top