home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / ren / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  21 lines

  1.                             RENAME
  2.  
  3. REN (or RENAME) is an internal command that gives you the ability to change 
  4. the name of a file. REN can not be used to change directory names. (However,
  5. see the RENDIR topic for an example of a batch file that can be used to 
  6. rename directories.)
  7.  
  8.     REN [d:][pathname]filename1[.ext1] filename2[.ext2]
  9. or
  10.     RENAME [d:][pathname]filename1[.ext1] filename2[.ext2] 
  11.              \_____________/  \_____________/
  12.               \current name     \new name
  13.  
  14. [d:][pathname]filename1[.ext1] is the current name of the file (or files) to 
  15.     be renamed. Multiple files can be renamed by using the wildcard characters.
  16.  
  17. filename2[.ext2] is the new name.  A pathname cannot be specified. You cannot
  18.     rename a file into another directory, so there is no reason to specify a
  19.     pathname. To actually move a file into another directory, use the MOVE
  20.     command.
  21.