home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
376_01
/
os2tool.000
/
DELQ.TXT
< prev
next >
Wrap
Text File
|
1992-08-06
|
2KB
|
63 lines
DELQ [DUAL MODE]
NAME DELQ - Delete files with query.
SYNTAX
DELQ [Drive(s)] [File(s)] [/NOD|/TEST|/S|/H|/?]]
[+A|+R|+S|+H|+D|+A]
USAGE
DELQ deletes specified files with query - that is before
each file is deleted, user is required to confirm delete.
DELQ can be given a list of drives e.g C: D:. DELQ
searches these drives for the given files. Each drive
specifier can contain also a directory specifier e.g
c:\test, then DELQ searches starting from the test
directory. Normally DELQ starts its search from the
default directory.
Normally DELQ finds files with attribute bit, readonly
bit or no bits set. You can disable the default
attributes with the /NOD (=No Default) switch.
Files are specified using normal OS/2 rules with ? and *
acting as wild cards.
There is a /TEST-switch, which shows the delete commands,
but does not execute them. It is useful for verifying
that you have specified the correct files on the command
line.
With the /S -option DU shows also all subdirectories.
The following options are recongnized:
+H include also hidden files.
+S include system files
+R include read-only files
+A include files with attribute-bit.
+D include directories (does not make too much sense with
SCAN).
+N include normal files. This is the default. Normal
files include files with read-only or archive or no bits
at all set.
/NOD No Default. Do not include any files by default.
SOme combination of attributes must be given.
/TEST Shows delete commands, but does not execute them.
/S = Include subdirectories also.
with /S -option also subdirectories are included in the
search for specified files. DELQ does not delete
directories.
With /TEST-option DELQ shows the files, that could be
deleted. No files are affected.
SEE ALSO
scan, ff