home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,147 of 2,978   
   Samuel Fleischer to All   
   Disk-Write-Protection-Check   
   01 Dec 04 17:20:59   
   
   From: LiveSucks@hotmail.com   
      
   Hello!   
      
   Is it posible to create a routine in Borland Pascal 7   
   (- DOS/Real-platform but apps should also run under Win   
   in a DOS-shell -) which detects if this little switch   
   on the cover of a floppy is in write-protect-position   
   or not, even when the disk is unformatted or has a   
   corrupted surface?   
      
   All the routines which I found so far write something to   
   disk in order to check it's write-protection-status.   
      
   I would like to avoid writing to disk as this is not   
   possible for unformatted disks also.   
      
   Many thanks.   
      
   Sam   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca