C.l6. $Rename - Alter Filenames - Sharp mz-3500 Manual For Use

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section C:
C.l6. $RENAME - Alter Filenames
The program $RENAME enables you to alter filenames.
ties,
is
has
a number of particular features and
various options. With the command interpreter, both
are applicable:
REN
or
RENAME
Utility Programs
****************
*
$RENAME
*
****************
As all other utili-
can be
extended
by
forms of the command
Both
notations
of the command have the same effect.
When
you
enter
nothing else but the command name, $RENAME will explain to you precisely
how it is to be called.
There are two ways of using the RENAME command,
the first of them being
compatible to CP/M:
RENAME filename.new
=
filename.old
In
this
mode,
you
specify the new filename
first,
followed
by
an
"equals" sign and the old filename. As many people find this "mathemati-
cal11 notation somewhat circumstantial, $RENAME allows for another way of
calling it:
RENAME filename.old filename.new
where
you specify the old filename first,
then the new one without
an
11
equals" sign between the filenames. Choose the mode you prefer,
But
that is not all.
$RENAME will accept ambiguous filenames as
well.
The command:
RENAME *.COM *,OLD
for instance, will rename all your
",COM'
1
files to the ".OLD" type.
Renaming using ambiguous is performed like this: If a file is found with
a
matching filename,
all question marks or asterisks specified in
the
the
RENAME command are substituted by characters from the old filename.
The other characters are taken as specified in the command. If, however,
this would lead to an invalid
filename~
no substitution will take place.
For example, let us assume you have three files:
LONGllll.DAT
SHORT.DAT
LONG2222.DAT
EOS User's manual
Daeumling & Zimmermann
Page 90

Advertisement

Chapters

Table of Contents
loading

Table of Contents