Tandy 1000 MS-DOS Reference Manual page 168

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

Chapter 6 / Command ReferelWe
RENAME
REN[AME]
pathname filename
Internal
!
!
~
, I
LJ
I
)
i
,
i-.",)
Changes the name of the file specified by pathname to filename.
Parameters
pathname is the file to be renamed.
filename is the new name for the file.
Notes and Suggestions
• If you include a wild card in the filename, MS-DOS leaves the
corresponding characters as they were. For example, if you
type the following:
ren newfile old????
I
ENTER
J
MS-DOS replaces the ? wild cards with the characters that
occupied the same position in the original name. Newfile is
changed to .oldfile.
• If you also include a wild card in the pathname, MS-DOS
renames all files in the specified directory that match the
pathname. For example, if you type the following:
RENAME
*.19t *.prn
I
ENTER
I
MS-DOS changes only the extension of all .lst files that are in
the current directory. The new extension is .prn. The file Sue-
file.lst, for example, becomes Suefile.prn.
Examples
r en b: \ u
9
e r \
9
11 . da t
9
12 . da t
I
ENTER
I
changes the name of the Gll.dat file that is in B: \ USER to
g12.dat.
ren b:mufile ?y????
I
ENTER
I
changes the name of Mufile, a file in the current directory in
Drive B, to Myfile.
154
, I
I
,
L.J
I
"
,
I
I
,
L.J
,
r
" I
---J
i
i
~
I
U
, I
:
I
~
I
I
~
I
_ !
I
:
1
U
,
i
,
I
~
I
!
, !
'---'
J

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents