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 2,396 of 2,978   
   Marco van de Voort to Femme Verbeek   
   Re: input Volume-Name - output drive-num   
   26 Feb 07 11:16:53   
   
   From: marcov@stack.nl   
      
   On 2007-02-26, Femme Verbeek  wrote:   
   >> $81 . . . }  for a  given  Volume-name ( C:\, D:\ ,E:\  . . .)   
   >> or could you tell me where to find this kind of information?   
   >> ( working with BP7 & Freepascal )   
   >> thank you very much + regards   
   >> Robert   
   >   
   > This code predates Windows. Except a wrong value of diskfree on modern   
   > very large harddisks, never had any problems with it.   
   > Paramstr[0] is the path + name of the running executable.   
      
   I think OP wants to remap partition (C:...Z:) to BIOS harddisks. So it is   
   more complicated than drivenrs, which are just enumration for partition nr.   
   (because C: and D: can be on the same physical disk)   
      
   I'd start searching in SWAG.   
      
   --- 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