EasyManua.ls Logo

Commodore PC - Ren (Rename)

Commodore PC
414 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
78
MS-DOS
User's
Reference
Ren
(Rename)
i
Renaming
files
Ren
Synonym:
rename
Purpose:
Changes
the
name
of
a
file.
Syntax:
ren
\drive\pathname
pathname
Comments:
The
ren
command
renames
all
files
matching
the
first
pathname.
However,
because
you
cannot
rename
files
across
disk
drives,
the
ren
command
ignores
any
drive
name
that
you
specify
with
the
second
pathname.
You
may
use
wildcards
(*
or
?)
in
either
pathname
option,
but
if
you
use
them
in
the
second
pathname,
ren
will
not
change
the
positions
of
the
corresponding
character.
Examples:
The
following
command
changes
the
extension
of
all
filenames
ending
in
.txt
to
.doc.
ren
*.txt
*.doc
In
the
next
example,
ren
renames
a
file
named
chaplO
(on
drive
B)
to
parti0:
ren
b:chap10
partiO
The
newly
renamed
filepartlO
remains
on
drive
B.
U
U
u
u
u
u
u
u

Related product manuals