home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / pcmag / rendir.lzh / RENDIR.DOC < prev   
Text File  |  1988-11-24  |  2KB  |  46 lines

  1.           RENDIR (Rename Directory)               John Dickinson
  2.           ______________________________________________________
  3.  
  4.           Purpose:  Permits renaming subdirectories directly,
  5.                     without creating a new directory, moving the
  6.                     contents of the old one into it, and then
  7.                     removing the old directory.
  8.  
  9.           Format:   RENDIR [d:][path]oldname[.ext] newname[.ext]
  10.  
  11.           Remarks:  PC-DOS has always provided a REName command
  12.                     for filenames, but not for directories.  A
  13.                     bug in DOS 3.0 permits you to use the
  14.                     immediate mode of BASIC to
  15.  
  16.                          NAME olddir AS newdir
  17.  
  18.                     but this bug has been removed from subsequent
  19.                     DOS versions.  RENDIR.COM permits renaming
  20.                     directories in DOS 3.0 and later.
  21.  
  22.                     While RENDIR allows you to change the name of
  23.                     a directory on another drive than your
  24.                     current one, it does not permit you to
  25.                     transfer a directory to another drive by
  26.                     RENDIRing it.  Thus, for example, if you are
  27.                     on drive C: and have a directory on drive D:
  28.                     named \TAXES, from the C> prompt you can
  29.  
  30.                          RENDIR D:\TAXES \TAXES85
  31.  
  32.                     You cannot, however
  33.  
  34.                          RENDIR D:\TAXES C:\TAXES85
  35.  
  36.                     Furthermore, you should not use RENDIR to try
  37.                     to change the name of the subdirectory you
  38.                     are currently in.
  39.  
  40.                     Notes:
  41.  
  42.                     1.   Unlike RENAME, RENDIR does not support
  43.                          use of the ? and * wildcard characters.
  44.  
  45.                     2.   Requires DOS 3.0 or higher.
  46.