Message-Id: <3.0.6.16.20000503095440.34ff2778@mail.cybercable.fr> Organization: Michelle's Internet Service X-Link: http://www.michelle-is.com/index.htm X-Moto: Micr0$oft = What do you want to crash today? X-Note: Sending S P A M is a violation of german, french and US law and will at least trigger a complaint at your provider's postmaster. X-Sender: starone AT mail DOT cybercable DOT fr X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (16) Date: Wed, 03 May 2000 09:54:40 +0100 To: djgpp AT delorie DOT com From: Michelle Konzack Subject: Re: Partition problem... In-Reply-To: <8enlhe$n24$1@nets3.rz.RWTH-Aachen.DE> References: <3 DOT 0 DOT 6 DOT 16 DOT 20000428113827 DOT 2d8f1b36 AT mail DOT cybercable DOT fr> <3 DOT 0 DOT 6 DOT 16 DOT 20000429092424 DOT 0ef7283a AT mail DOT cybercable DOT fr> <3 DOT 0 DOT 6 DOT 16 DOT 20000502234947 DOT 465fc400 AT mail DOT cybercable DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id DAA23263 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 22:40 02.05.2000 GMT, you wrote --------> This was the original Message: >Michelle Konzack wrote: >>> if exist f:\michelle.2nd goto OK_2nd_drive_is_there > >> It give me a system error > >> A(bbrechen) W(iederholen) U(ebergehen) > >That only should happen if there is no disk 'f:' at all. From your >previous message, I gathered the impression that only 'f:' and 'i:' >were missing if the second disk is not present, implying that what >would otherwise have been drive 'g:' should now turn up as 'f:', >automatically. For the case that 'f:' is not present at all, you >may be able to use this check: > > if not exist f:\nul goto Ooops_2nd_harddrive_not_there > >I've seen reports that this old trick may no longer work with newer >DOS versions and/or Windows 32bit file access drivers, though. > Last year I was on a news group, and one programmer had the source for detecting a harddisk (returns TRUE or FALSE) and then he was able to detect FAT12/16 partitions on it... But for now I have no NEWS-Access (Windows crashes) and I do not know in which news group it was. Michelle P.S.: It was written in ASM -- Don't cc: me on mailinglists, I'm subscribed, if I write there. ---------------------------------------------------------------------------- Linux rebootet man in drei Fällen: Neuer Kernel, neue (Board-)Hardware, Stromausfall.... Aber Windows rebootet man auch in drei Fällen: Schutzverletzung, Bluescreen, keinen Bock...