| www.delorie.com/archives/browse.cgi | search |
| From: | "A. Sinan Unur" <asu1 AT cornell DOT edu> |
| 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: | <Pine DOT LNX DOT 3 DOT 95 DOT 970606041212 DOT 619X-100000 AT capslock DOT com> <5ng52t$geo AT freenet-news DOT carleton DOT ca> |
| Reply-To: | asu1 AT cornell DOT edu |
| NNTP-Posting-Host: | 128 |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Paul Derbyshire wrote:
>
> It sounds like chkdsk itself checks to see if the spawning program is
> "command.com" or not.
>
no. history:
program:
#include <stdlib.h>
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |