OS/2 Procedures Language 2/REXX


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


SysRmDir

 
 Function: SysRmDir 
 Syntax:   rc = SysRmDir(dirspec) 
      dirspec   The directory that should be deleted. 
 Purpose:  Deletes a specified directory quickly.  In case of failure, one 
           of many return codes is given so that the exact reason for 
           failure can be determined. 
 RC:       Return Codes 
      0         Directory removal was successful. 
      2         Error.  File not found. 
      3         Error.  Path not found. 
      5         Error.  Access denied. 
      16        Error.  Current directory. 
      26        Error.  Not a DOS disk. 
      87        Error.  Invalid parameter. 
      108       Error.  Drive locked. 
      206       Error.  Filename exceeds range. 
 Example:  call SysRmDir 'c:\rexx' 
 

Inf-HTML End Run - Successful