EasyManuals Logo

Tandy 1000 MS-DOS User Manual

Default Icon
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #185 background imageLoading...
Page #185 background image
r-.
I '
I'
I
i
I
r
I '
r
I
r
I
Chapter 6 / Command Reference
Examples
s h i f t I
ENTER
I
shifts all
parameters
that
replace
the
parameters
%0
through
%9
down one. Suppose
that,
before
the
shift,
%1
equals Den-
file.dat and
%2
equals Myfile.dat. After
the
shift,
%0
equals
Denfile.dat and
%1
equals Myfile.dat.
copy
con
shiftcop.bat
I
ENTER)
rem
Stop
execution
at
pause
after
all
files
are
cop
i e d I
ENTER
I
: p a
use
I
ENTER
I
p a
use
I
ENTER
I
cop
y
a:
\
use
r \ X1
b:
\
use
r \ X1 I
ENTER
I
s h i f t I
ENTER
I
got
0 p a
use
I
ENTER
I
rm
I
ENTER
I
is a batch file
that
lets
you
copy
as many files as you wish from
A:
\ USER to
B:
\ USER.
It
substitutes
the
first given file
for
%1
and
copies it. Then
it
substitutes the next file, copies it, and so
on. This way you can use SHIFT to
gain
access to more
than
ten
replaceable
parameters.
Even
if
you
don't
need
that
many
parameters, however, you can use SHIFT to save typing time.
To
copy
the
files Find.exe, Name
1.
asm, and Name2.asm from
A:
\ USER to
B:
\ USER, enter the name of the batch file,
followed
by
the
files to copy,
as
shown here:
shiftcop
find.exe
name1.asm name2.asm
I
ENTER
I
The batch file pauses before each
copy,
giving you
the
option to
stop. After
it
copies all files, press I
CTRL
I
@]
at
the
PAUSE
prompt
(Stnke
a
key
when
ready
•••
).
171

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 MS-DOS and is the answer not in the manual?

Tandy 1000 MS-DOS Specifications

General IconGeneral
BrandTandy
Model1000 MS-DOS
CategoryDesktop
LanguageEnglish

Related product manuals