OS/2 Procedures Language 2/REXX


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


SysDriveInfo

 
 Function: SysDriveInfo 
 Syntax:   info = SysDriveInfo(drive) 
      info      Drive information returned in the following form: 'drive: 
                 free total label' If the drive is not accessible, then 
                info will equal ''. 
      drive     The drive of interest,  'C:'. 
 Purpose:  Gives drive information. 

           Example:
            /* Code */
            say 'Disk='SysDriveInfo('C:')
           
            /* Output */
            Disk=C: 33392640 83687424 TRIGGER_C
           
           
 
 In the above Output example, the items have the following meaning: 
   o  The first item is the drive being queried. 
   o  The first number is the number of bytes that are free. 
   o  The second number is the total size of the drive. 
   o  The final item is the drive label. 
   

Inf-HTML End Run - Successful