RNDIR
-----

Format:        RNDIR filespec [/H] filename

Purpose:       Renames one or more sub-directories.

Use:           The  filespec specifies the  directories  that 
          are to be renamed, and /H allows hidden directories 
          to be included in the operation.

                    The  last  item in path specifies one  or 
          more  sub-directories on the default  or  specified 
          drive  (the first drive specification) which are to 
          be renamed. The filename specifies the new name for 
          the directories and may be ambiguous.  A '?' in the 
          filename  indicates  that one character  is  to  be 
          copied  from  the original name to the new name  in 
          the  position  of the '?' ('*' being  a  series  of 
          '?').

               If the new name for any of the sub-directories 
          being  renamed  already exists,  or is  an  invalid 
          filename,  then  the rename operation stops and  an 
          error is returned.

Examples:

     RNDIR UTIL COM

               The directory UTIL in the current directory of 
          the current drive is renamed COM.


     RNDIR A:\SOURCE\FRED?/H BILL?

               All  directories matching the name FRED?  (eg. 
          FRED1,  FRED2) in the directory \SOURCE on drive A: 
          are renamed such that FRED becomes BILL (eg. BILL1, 
          BILL2).
