EasyManua.ls Logo

Commodore PC 20 - Page 216

Commodore PC 20
494 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...
178
MS-DOS User's Reference
Ren (Rename)
Renaming files
Ren
Synonym:
rename
Purpose:
Changes
the
name
of
a file.
Syntax:
ren
[drive: ]patbname
patbname
Comments:
The
ren
command
renames
all files matching
the
first
patbname.
However,
because
you
cannot
rename
files across disk drives,
the
ren
command
ignores any drive
name
that
you
specify
with
the
second
patbname.
You may
use
wildcards
(*
or
?)
in
either
patbname
option,
but
if
you use
them
in
the
second
patbname,
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
cbaplO
(on
drive
B)
to
partJO:
ren
b:chap10
part10
The
newly
renamed
file
partlO
remains
on
drive
B.
[
[
[
[

Table of Contents

Related product manuals