Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual
Page 107

ROM-DOS Internal Commands 4-65
S H I F T
Batch File, Internal Command
The SHIFT command moves each replaceable parameter for a batch file
one position to the left. Execution of the SHIFT command allows use of
more replaceable parameters in a batch file beyond the standard set of
%0 through %9.
Syntax
SHIFT
Remarks
This command moves the string or value stored for each replaceable
parameter one position to the left. Upon execution of SHIFT, the %0
argument assumes the value of the %1 argument, the %1 argument then
assumes the value of the %2 argument, and so on.
Example
The following batch file reads in a list of files (provided as arguments on
the command line) and displays each one to the screen. After displaying
each one, the SHIFT command copies the next file in the argument list
into the %1 slot, verifying the existence of the file, and continues.
Command line argument:
TYPEIT autoexec.bat config.sys net.bat
TYPEIT.BAT batch file:
:repeat
if EXIST %1 goto doit
goto end
:doit
type %1
pause
shift
goto repeat
:end
@echo All Done
- Monarch 1730 (4 pages)
- Pathfinder 6032 Supply (1 page)
- Pathfinder 6032 Quick Start (12 pages)
- Pathfinder 6032 Wrist Strap (4 pages)
- Platinum 6039 System Administrator Guide (48 pages)
- Platinum 6039 Weights and Measures (2 pages)
- Pathfinder 6140 Equipment Manual (36 pages)
- Pathfinder 6057 Quick Reference (40 pages)
- Pathfinder 6057 Quick Reference (115 pages)
- Pathfinder 6057 System Administrator Guide (60 pages)
- Pathfinder 6140 LNT Programmer Manual using XML (80 pages)
- Pathfinder 6140 Quick Reference (30 pages)
- FreshMarx 9415 Operator Handbook (44 pages)
- FreshMarx 9415 Maintenance Instructions (2 pages)
- FreshMarx 9415 System Administrator Guide (48 pages)
- Monarch 9416 XL Printer Equipment Manual (30 pages)
- Monarch 9416 XL Quick Reference (22 pages)
- FreshMarx 9415 Quick Reference (48 pages)
- Monarch 9416 XL AAFES Setup (4 pages)
- Monarch 9855 XL Intelligent Kit (34 pages)
- FreshMarx 9417 Replacing the Printhead (4 pages)
- FreshMarx 9417 Quick Reference (10 pages)
- Sierra Sport4 9493 Packet Reference Manual (230 pages)
- FreshMarx 9417 Operator Handbook (28 pages)
- Sierra Sport3 9433 Quick Reference (6 pages)
- FreshMarx 9417 System Administrator Guide (70 pages)
- 9450 RASCAL Programmer Manual (84 pages)
- Sierra Sport4 9493 System Administrator Guide (32 pages)
- Sierra Sport4 9493 Quick Reference (8 pages)
- Monarch 9855 RFMP Quick Reference (18 pages)
- 9850 Operator Handbook (134 pages)
- 7410 Network Card Programmer Manual (78 pages)
- Monarch 9855 MLI (4 pages)
- Monarch 9860 Quick Reference (12 pages)
- Monarch 9860 Operator Handbook (118 pages)
- Monarch 9860 Programmer Manual Addendum2 (14 pages)
- Monarch 9860 Programmer Manual Addendum (8 pages)
- Monarch 9864 Advanced Applications (21 pages)
- Monarch 9864 Quick Reference (28 pages)
- Monarch 9864 Error Messages (67 pages)
- Monarch 9864 Bar Code Information (19 pages)
- Monarch 9864 Command Overview (26 pages)
- Monarch 9878 (24 pages)
- Monarch 9864 Info Printouts and Parameters (111 pages)
- Monarch 9906 Quick Reference (48 pages)