ATTRIB command for MS-DOS

This is an ATTRIB command that pretty much works exactly like the
original MS-DOS ATTRIB command, with the following enhancements:

More flexible parsing: accepts +RS +R-S +RS-HA -H/S etc.
Parameters can be in any order.

Better error reporting, instead of just saying parameters are wrong,
it tells you exactly what it didn't like.

/C option to clear R, H, S & A in one easy operation
/V option for verbose output
/F option for "full" listing. Shows directories & volume labels

Walks the directory tree in a more natural manner. Ie, processes
the files in a directory FIRST, then moves on to the subdirs.

Unambiguous specification of directories. ie: append '\' to a directory
name, otherwise it is assumed to be a filename. Microsofts ATTRIB will
happily change all files in a directory if you happen to mistype it's
name instead of a filename.


ATTRIB [+/-RASH ...] [[drive:][path]filename] [/C][/F][/S][/V]

  +/- Set/Clear attribute(s)
  R   Read-only file attribute
  A   Archive file attribute
  S   System file attribute
  H   Hidden file attribute
  /C  Clear all attributes - all files
  /F  Full listing, show dirs and volume labels
  /S  Processes files in all subdirectories
  /V  Verbose command operation

Copyright 1995-2003 Dave Dunfield - Freely Distributable.
