From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Exclusive access to drive Date: Fri, 09 May 1997 08:57:05 -0400 Organization: Cornell University http://www.cornell.edu Lines: 36 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33731F21.5BB@cornell.edu> References: <199705081803 DOT OAA01545 AT banana DOT ece DOT uc DOT edu> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0006.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Paul Campisi wrote: > > > 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. start a print job in windows 3.1, then, while it is still being spooled, go to a dos window and type chkdsk. it will most probably tell you errors were encountered on the disk. if you had also specified the /f parameter (please do not do it) you would end up with a not so nice looking fat. > > 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. the only thing that comes to my mind is the tsr example by charles sandman: ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/djgpptsr.zip -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************