home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / 1986 / 07 / rendir.doc < prev   
Text File  |  1986-09-11  |  2KB  |  50 lines

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