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: 2018/6/21 02:05,
|©2018 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 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180621 RussellMc, Van Horn, David, Isaac M. Bavaresco, Sean Breheny, Neil, David C Brown, Bob Blick, Denny Esterline, Brent Brown, James Cameron,
* 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!