re: SLOW running dos program in XP
Saturday, February 7, 2004 at 2:07 am Windows XP Annoyances Discussion Forum
Posted by JB
(5 messages posted)
Hello Morley
I am convinced that you and I are suffering from the same effect. My DOS program
has been used for years with no problem, then a colleague and I using the same program
on 2 different machines running XP, had a similar experience to yours: it ran properly
for a time, then for no obvious reason, it just crawled every time it was run. I
am afraid my remedy is probably not an option for you. Instead of using a DOS for-loop
calling a second DOS program to create a data file for a C++ program, I sent DIR
output to a file to input to the C++ program, and modified the C++ program to do
what the second DOS program been doing. So I have avoided the problem, but not solved
it. I think my slowness was associated with a DOS program calling another DOS program
in a loop, particularly as the second DOS program which was being called repeatedly
appended to a single output file. It looks as though it is possible for another call
to start execution before the previous one had finished, and the system was fighting
itself over the output file. But I have no theory about why the behaviour changed,
that must be something connected to the working of XP. I would be interested to know
what sort of operations your DOS program was doing; it may give a further clue to
the cause of the slowness. I hope between us we may be able to work this out.
|
All messages in this thread [show all]
 |  |  |  | re: SLOW running dos program in XP (JB: Sat, Feb 7, 2004, 2:07 am) |
| |
| |
Return to the Windows XP Discussion Forum
|
|