Mail Archives: djgpp/2000/05/03/05:37:48
At 22:40 02.05.2000 GMT, you wrote
--------> This was the original Message:
>Michelle Konzack <starone AT cybercable DOT fr> 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...
- Raw text -