From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: chkdsk, djgpp and win 95 (was Re: Exclusive access to drive) Date: Wed, 04 Jun 1997 20:35:50 -0400 Organization: Cornell University http://www.cornell.edu Lines: 46 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <339609E5.5556@cornell.edu> References: Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0014.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 Eli Zaretskii wrote: > > On Tue, 3 Jun 1997, A. Sinan Unur wrote: > > > Volume LEEADR7 created 03-04-1997 2:17p > > Volume Serial Number is 2C5D-14E1 > > Processing cannot continue - File allocation table bad > > > > invoking chkdsk on the command line in the same dos box gives the > > usual output. i will try the same with VC++ 4.0 at home. > > > > if i remember the original post correctly, his problem was that > > chkdsk would not be invoked at all. on the machine i tried this on > > at least, it will be invoked but gives and error. > > No, the original problem was this exact error message, because CHKDSK > doesn't scan the disk at all after printing it. eli, thanks for the correction. here however is the real puzzle. not only does the program #include int main(void) { return system("chkdsk"); } work correctly when compiled with 16 bit msvc 1.52 and 32 bit msvc 4.0, it also works correctly when compiled using gcc -Zwin32 chk.c -o chk.exe (using the original ld.exe) with rsxntdj 1.3.1. i am not sure what this shows. any ideas? -- 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. *******************************************************************