delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/08/14:03:57

From: Paul Campisi <pcampisi AT ececs DOT uc DOT edu>
Date: Thu, 8 May 1997 14:03:00 -0400 (EDT)
Message-Id: <199705081803.OAA01545@banana.ece.uc.edu>
To: eliz AT is DOT elta DOT co DOT il
Subject: Re: Exclusive access to drive
Cc: djgpp AT delorie DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019