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 >
Text File  |  1992-08-06  |  2KB  |  63 lines

  1.                                               DELQ [DUAL MODE]
  2.      
  3.      NAME DELQ - Delete files with query.
  4.      
  5.      SYNTAX
  6.      
  7.      DELQ    [Drive(s)]    [File(s)]    [/NOD|/TEST|/S|/H|/?]]
  8.      [+A|+R|+S|+H|+D|+A]
  9.      
  10.      
  11.      USAGE
  12.      
  13.      DELQ deletes  specified files with query - that is before
  14.      each file is deleted, user is required to confirm delete.
  15.      
  16.      DELQ can  be given  a list  of drives  e.g  C:  D:.  DELQ
  17.      searches these  drives for  the given  files. Each  drive
  18.      specifier can  contain also  a  directory  specifier  e.g
  19.      c:\test,  then  DELQ  searches  starting  from  the  test
  20.      directory. Normally  DELQ  starts  its  search  from  the
  21.      default directory.
  22.      
  23.      Normally DELQ  finds files  with attribute  bit, readonly
  24.      bit  or   no  bits  set.  You  can  disable  the  default
  25.      attributes with the /NOD (=No Default) switch.
  26.      
  27.      Files are  specified using normal OS/2 rules with ? and *
  28.      acting as wild cards.
  29.      
  30.      There is a /TEST-switch, which shows the delete commands,
  31.      but does  not execute  them. It  is useful  for verifying
  32.      that you  have specified the correct files on the command
  33.      line.
  34.      
  35.      With the /S -option DU shows also all subdirectories.
  36.      
  37.      The following options are recongnized:
  38.      
  39.      +H include also hidden files.
  40.      +S include system files
  41.      +R include read-only files
  42.      +A include files with attribute-bit.
  43.      +D include directories (does not make too much sense with
  44.      SCAN).
  45.      +N include  normal files.  This is  the  default.  Normal
  46.      files include  files with read-only or archive or no bits
  47.      at all set.
  48.      /NOD No  Default. Do  not include  any files  by default.
  49.      SOme combination of attributes must be given.
  50.      /TEST Shows delete commands, but does not execute them.
  51.      /S = Include subdirectories also.
  52.      
  53.      
  54.      with /S  -option also  subdirectories are included in the
  55.      search  for   specified  files.   DELQ  does  not  delete
  56.      directories.
  57.      
  58.      With /TEST-option  DELQ shows  the files,  that could  be
  59.      deleted. No files are affected.
  60.      
  61.      SEE ALSO
  62.      scan, ff
  63.