From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Exclusive access to drive Date: Mon, 09 Jun 1997 09:48:57 -0400 Organization: Cornell University Lines: 24 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <339C09C9.71E2@cornell.edu> References: <5ng52t$geo AT freenet-news DOT carleton DOT ca> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: 128 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 Derbyshire wrote: > > It sounds like chkdsk itself checks to see if the spawning program is > "command.com" or not. > no. history: program: #include int main(void) { return system("chkdsk"); } runs fine when compiled as com (msvc 1.52) or windows console app (msvc 4.0 _and_ djgpp+rsxntdj1.3.1 using gcc -Zwin32 chk.c -o chk.exe.) on two systems i tried it on. any further insight pleaaase ... at least, if you know where to look, let me know, i'll look. i am not the original poster but the curiosity is killing me. (i am _not_ a cat ;-) -- Sinan