Mail Archives: djgpp/1995/09/28/03:08:15
On 27 Sep 1995 rothweil AT mmlab DOT mml DOT mmc DOT com wrote:
> I then create a batch file with the line: tst >tst.out
> repeated about 100 times. After about the 55'th line, I get
> the message:
> "Warning: cannot open swap file c:\tmp\cwsdpmi.swp"
This is DOS misfeature: it won't close a file handle until the batch
file exits. (This is why you shouldn't redirect output of a TSR from
AUTOEXEC.BAT: you'll lose that handle permanently.) If you really have
to make so many redirections, I'd suggest using a program from the
``Undocumented DOS'' book, which can detect and release such file
handles. Drop me a note if you want more details.
- Raw text -