OS/2 Procedures Language 2/REXX


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


SysDriveMap

 
 Function: SysDriveMap 
 Syntax:   map = SysDriveMap([drive], [opt]) 
      map       A string containing all accessible drives. 
      drive     Drive letter with which to start the drive map. The 
                default is C. 
      opt       The drivemap report option.  May be any one of the 
                following: 
           'USED'         Reports drives which are accessible or in use. 
                           This is the default. This includes all local 
                          and remote drives. 
           'FREE'         Reports drives which are free or not in use. 
           'LOCAL'        Reports only those drives which are local 
                          drives. 
           'REMOTE'       Reports only those drives which are remote 
                          drives such as redirected LAN resources, IFS 
                          attached drives, and so on. 
           'DETACHED'     Reports drives which are detached LAN resources. 
                          
 Purpose:  Reports all accessible drives in the form 'C: D: E:...' 

           Example:
            /* Code */
            say 'Used drives include:'
            say SysDriveMap('C:', 'USED')
           
            /* Output */
            Used drives include:
            C: D: E: F: W:
           
           
 

Inf-HTML End Run - Successful