home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
OS2TOOL.ZIP
/
OS2TOOL.DOC
< prev
next >
Wrap
Text File
|
1990-07-28
|
1KB
|
31 lines
Some more OS/2 tools
EXCLUDE pattern command
Excludes files from processing:
[D:\]EXCLUDE *.C EXCLUDE *.ASM DEL *.*
This command deletes all files from the current directory, except for
.C and .ASM files. If the processing is interrupted, the excluded files
may not be visible. Not to worry, they are merely "hidden" and can be
brought back by the file manager.
SUBDIR command
Executes command in the current directory and all subdirectories. For
example, the following sequence finds all changed files on disk:
[D:\]SUBDIR ATTRIB *.* | FIND " A "
Both of these commands are quick hacks, written in Microsoft C. As a
result, there is a problem in handling command line arguments. All
spaces and tabs are compressed to a single space, unless the argument
is enclosed in double quotes ("..."). Sorry about this, but these commands
do what I need. If there is a desire to have this fixed, drop me an EMAIL
note (this does fit in with OS/2 command line conventions, though, so it
isn't too bad).
Have fun,
Fred Weigel (CIS 76605,1127).