RENAME EN)+Renaming Files
Changes the name of a file.
MS-DOS equivalent: RENAME EN) (all)
REN [d:][path]filename nfilename
[d:][path]filename Specifies the drive, path, and
file name of the file to be
nfilename Specifies the new name to be
assigned to the file (must be
on the same drive and path as
the file to be renamed).
REN TEST TEST1
REN *.CAP *.SET
Repeat the REN command to rename the newly named file to its
original file name.
Duplicate file name or file not found
The file already exists on the drive/directory specified with the
name you are trying to assign, or the file to be renamed cannot
be found. Check to see that you have entered the file name
correctly; then reissue the REN command.
The file name for the required nfilename parameter was not
The old name must occur first and the new name must occur
second. REN will not allow two files to have the same name at the
same time, so you must use an intermediate name to switch the
names of two files. Never rename special files that application
programs require to operate.
[For related topics, press R]
DEL (DELETE) and ERASE Commands
|file: /Techref/dos/command/rename.htm, 2KB, , updated: 1999/2/20 11:24, local time: 2020/8/7 11:10,
|©2020 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/dos/command/rename.htm"> dos command rename</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!