" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
REN[AME] COMMAND
Purpose: Changes names of files and directories specified by the first
argument for names specified by the second argument.
Syntax: REN[AME] [/s] [d:][path1][filename1] [filename2]
Type: Internal command
Note: Source and target disk must be the same.
Description:
1. Instead of RENAME you may use short variant REN. It is allowed to use
wild cards "*" and "?" in arguments.
2. The /S switch specifies the work with subdirectories.
Examples:
1. The command:
A>ren b:abode home
renames the ABODE file in the drive B: to HOME.
2. The command:
A>ren b:abode *.xy
renames the ABODE file in the drive B: th ABODE.XY.
3. The command:
A>ren /s b:\level1 b:\back\level2
renames the directory \level1 with subdirectories to the directory
\back\level2 in the drive B.