Annoyances.org
Home » Windows XP Discussion Forum » Message 1076148447 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

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.


Written in response to:
re: SLOW running dos program in XP (morley: Friday, February 6, 2004 at 1:45 pm)

Responses to this message:
*re: SLOW running dos program in XP (morley: Sunday, February 8, 2004 at 8:12 am)

All messages in this thread [show all]
-SLOW running dos program in XP (morley: Thu, Nov 13, 2003, 4:21 pm)
-re: SLOW running dos program in XP (Tom Swanson: Thu, Nov 13, 2003, 6:08 pm)
-re: SLOW running dos program in XP (morley: Thu, Nov 13, 2003, 7:36 pm)
-re: SLOW running dos program in XP (Tom Swanson: Thu, Nov 13, 2003, 9:03 pm)
*re: SLOW running dos program in XP (morley: Fri, Nov 14, 2003, 6:26 am)
-re: SLOW running dos program in XP (JB: Fri, Feb 6, 2004, 8:47 am)
-re: SLOW running dos program in XP (morley: Fri, Feb 6, 2004, 1:45 pm)
-re: SLOW running dos program in XP (JB: Sat, Feb 7, 2004, 2:07 am)
-re: SLOW running dos program in XP (morley: Sun, Feb 8, 2004, 8:12 am)
-re: SLOW running dos program in XP (JB: Mon, Feb 9, 2004, 9:07 pm)
-re: SLOW running dos program in XP (morley: Tue, Feb 10, 2004, 6:56 am)
-re: SLOW running dos program in XP (JB: Tue, Feb 10, 2004, 7:26 am)
-re: SLOW running dos program in XP (morley: Wed, Feb 11, 2004, 6:44 am)
-re: SLOW running dos program in XP (JB: Thu, Feb 12, 2004, 5:45 am)
-re: SLOW running dos program in XP (morley: Fri, Feb 13, 2004, 7:42 am)
*re: SLOW running dos program in XP (Massimo: Thu, Apr 28, 2005, 4:59 pm)
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.