home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / xdel107b.zip / attrdir.txt < prev    next >
Text File  |  1997-08-22  |  1KB  |  33 lines

  1.  
  2.          ATTRDIR - modify attributes of directories under OS/2 
  3.  
  4.             Copyright (c) 1995, Klaus Joosz
  5.               All rights reserved.
  6.  
  7.     This program is free software. It is distributed in the hope that it 
  8.     will be useful, but WITHOUT ANY WARRANTY.
  9.  
  10. -------------------------------------------------------------------------------
  11.  
  12. ATTRDIR is a command line tool to modify the attributes of directories under 
  13. OS/2. ATTRDIR sets, removes or displays the attributes READ ONLY, SYSTEM, 
  14. HIDDEN and ARCHIVE.
  15.  
  16. Usage: ATTRDIR [+R | -R][+S | -S][+H | -H][+A | -A] [DRIVE:][PATH]DIRECTORY
  17.  
  18. ATTRDIR does not support wildcard characters. Attributes can only be modified
  19. for one directory at a time. 
  20. It seems that OS/2 does not care about the READ ONLY attribute on local drives, 
  21. so whether or not this attribute is set an empty subdirectory can be deleted 
  22. with the RD command.
  23. There is an enhanced DEL command for OS/2. Its name is XDEL and it should be
  24. part of the same package that contains ATTRDIR. XDEL supports the READ ONLY
  25. attribute of subdirectories. For example you can tell XDEL not to delete files
  26. in a subdirectory if its READ ONLY attribute is set. To delete a subdirectory
  27. with the READ ONLY attribute set you must pass a special command line option
  28. to XDEL.
  29.  
  30.  
  31.                                                     Klaus Joosz
  32.                                                     August 22, 1997
  33.