Mail Archives: djgpp/1997/05/08/14:03:57
> I think the reason is that CWSDPMI opens a swap file to support virtual
> memory, and CHKDSK complains because the directory entry for the swap file
> isn't updated until you exit your program (at which point CWSDPMI closes
> and deletes the swap file).
>
> It is generally not recommended to run CHKDSK while another program has
> some files open. If you try that from Windows' DOS box, for example, you
> will also see error messages from CHKDSK.
I can run CHKDSK from a Windows DOS box with no error messages.
> You didn't explain why do you need to run CHKDSK in the middle of your
> program. So it's hard to answer this question.
Ok.. What I am doing is trying to write a shell program. (Like
TCSH) Which allows for file completion, history, and all other TCSH
like commands. So when I am at my prompt in my program, everything works
so far except for CHKDSK, which gives the problems listed in the previous
message.
and NO I don't care if someone else has done it or it
is already there, I want to do it for me. The program is sort of like a
much enhanced DOSKEY.
Thanks!
Paul
- Raw text -