home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / OS2TOOL.ZIP / OS2TOOL.DOC < prev    next >
Text File  |  1990-07-28  |  1KB  |  31 lines

  1. Some more OS/2 tools
  2.  
  3. EXCLUDE pattern command
  4.  
  5. Excludes files from processing:
  6.  
  7. [D:\]EXCLUDE *.C EXCLUDE *.ASM DEL *.*
  8.  
  9. This command deletes all files from the current directory, except for
  10. .C and .ASM files. If the processing is interrupted, the excluded files
  11. may not be visible. Not to worry, they are merely "hidden" and can be
  12. brought back by the file manager.
  13.  
  14. SUBDIR command
  15.  
  16. Executes command in the current directory and all subdirectories. For
  17. example, the following sequence finds all changed files on disk:
  18.  
  19. [D:\]SUBDIR ATTRIB *.* | FIND " A "
  20.  
  21. Both of these commands are quick hacks, written in Microsoft C. As a
  22. result, there is a problem in handling command line arguments. All
  23. spaces and tabs are compressed to a single space, unless the argument
  24. is enclosed in double quotes ("..."). Sorry about this, but these commands
  25. do what I need. If there is a desire to have this fixed, drop me an EMAIL
  26. note (this does fit in with OS/2 command line conventions, though, so it
  27. isn't too bad).
  28.  
  29. Have fun,
  30. Fred Weigel (CIS 76605,1127).
  31.