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: 2017/10/20 13:20,
|©2017 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://www.piclist.com/techref/dos/command/rename.htm"> dos command rename</A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171020 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!