The text of a manual · part 7 of 16
PDT 3200 Technical Reference Guide: Chapter 5 ROM-DOS Commands, pages 63 to 72
Pages 63 to 72 of 158, from PDT 3200 Technical Reference Guide
The original document is the PDF (941 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol PDT-3200
Page 63
Chapter 5: ROM DOS Commands
Command Type Purpose
? Internal
The question mark (?) command is placed on a command line in the CONFIG.SYS Þle following the actual command. It directs ROM-DOS to pause and ask for conÞrmation before processing the command.
Syntax [command]? = command_arguments
Remarks The command can be any of the following standard CONFIG.SYS commands: BREAK= DEVICE= DOS= FILES= STACKS= BUFFERS= FCBS= INSTALL= LASTDRIVE= SWITCHES= The command_argument can be any of the available options deÞned for the command. Please refer to the individual command description for complete instructions. The question mark (?) should be placed just before the equals sign (=) in the command line.
Examples DEVICE?=VDISK.SYS 64 /E
The above example causes ROM-DOS to pause and ask for conÞrmation before installing the VDISK. If Yes (y) is answered, the installation will continue. If No (n) is answered, the device will not be loaded and processing will move on to the external CONFIG.SYS command line.
5-11
Page 64
PDT 3200 Technical Reference Guide
DEVICE?=VDISK.SYS 64 /E
The above example causes ROM-DOS to pause and ask for conÞrmation before installing the VDISK. If Yes (y) is answered, the installation will continue. If No (n) is answered, the device will not be loaded and processing will move on to the External CONFIG.SYS command line.
5-12
Page 65
Chapter 5: ROM DOS Commands
Command Type Purpose
@ Internal
The AT sign (@) is used to prevent a single command in a batch Þle from being echoed to the screen as the batch Þle is being run. The @ sign is placed in front of the command whose display is to be suppressed.
Syntax @[batch file command]
Remarks The batch file command argument can be any executable line in your batch Þle.
Examples In the following example, the COPY instruction will be executed but the instructions will not be echoed to the screen as the batch Þle runs. @COPY FILE1.BAT FILE1.SAV
The ECHO OFF command differs from the @ sign in that it cause all commands following it to not be displayed on the screen. To prevent the ECHO OFF command from displaying itself, place the @ sign in front of the command. @ECHO OFF
5-13
Page 66
PDT 3200 Technical Reference Guide
Command Type Purpose
; Internal
The semicolon (;) command has two purposes: to allow comments in a batch or CONFIG.SYS Þle, and to temporarily disable a command without physically deleting the command from the Þle. See also the REM command.
Syntax ;any text here
Remarks The ; command is used to functionally remove a command from the CONFIG.SYS Þle without actually deleting it from the CONFIG.SYS Þle.
Examples ;C:\BIN\VDISK.SYS 64 /E
The above example causes the VDISK command to not be executed until the ; command is removed.
5-14
Page 67
Chapter 5: ROM DOS Commands
Command Type Purpose
ATTRIB External
The ATTRIB command either displays or modiÞes the attribute of a Þle.
Syntax ATTRIB [+ ≠ -][option][filespec]
Remarks The Þle attributes deÞne the characteristics of a Þle. They determine if a Þle may be deleted or modiÞed, or if it is archived. The ATTRIB command is used to manage these Þle attributes. Wildcard characters may be used in the ATTRIB filespec. The ATTRIB command will modify Þle attributes if modify commands are given to ATTRIB. The modify commands are:
Option
Description
+/-
Add (+) or remove (-) attribute
A
Archive attribute
C
Clear all attributes
H
Hidden File attribute
R
Read Only attribute
S
System File attribute
If no modify commands are found by ATTRIB, then the Þles are displayed along with the Þle names and their current attributes.
Examples ATTRIB will add the Read Only attribute to the Þle myfile.dat.
5-15
Page 68
PDT 3200 Technical Reference Guide
ATTRIB +r myfile.dat
ATTRIB will remove the Read Only attribute and the Archive attribute of all Þles with the DAT extension. ATTRIB -a -r *.dat
ATTRIB will display the attributes of all Þles with the DAT extension. ATTRIB *.dat
5-16
Page 69
Chapter 5: ROM DOS Commands
Command Type Purpose
BREAK Internal
Expands the list of operations that can be stopped by pressing <Ctrl><C> or <Ctrl><Break>. Alternatively, returns to the default setting of a limited number of Òbreak-ableÓ operations.
Syntax BREAK [ON≠OFF]
Remarks In the normal default condition, the BREAK switch is off. In the off mode, the ÒstopÓ commands, <Ctrl><C> and <Ctrl><Break>, will affect activities that read from or write to the keypad, the screen, or the printer. ROM-DOS will not look for these stop commands during any other activities. With the BREAK switch set to ON, ROM-DOS looks for <Ctrl><C> and <Ctrl><Break> during other activities such as disk reads and writes.
Examples BREAK ON
Expands the BREAK list. BREAK OFF
Returns to limited BREAK list. BREAK
Displays the current BREAK setting.
5-17
Page 70
PDT 3200 Technical Reference Guide
Command Type Purpose
BUFFERS CONFIG.SYS
ROM-DOS has internal buffers to temporarily hold data read from the disk. Increasing the number of internal buffers will speed system performance.
Syntax BUFFERS = number
Remarks Each buffer used by ROM-DOS requires 512 bytes of RAM. The BUFFERS command will increase or decrease the amount of RAM used by the operating system. The minimum number of buffers is 2 and the maximum number is 40. If a number less than 2 is given then the number of BUFFERS is set to 2. If a number larger than 40 is given then BUFFERS is set to 40.
Example The following example causes ROM-DOS to have 10 buffers. These 10 buffers will use 5120 bytes of RAM. BUFFERS = 10
5-18
Page 71
Chapter 5: ROM DOS Commands
Command Type
CALL
Internal Batch Subcommand
Purpose CALL invokes execution of a secondary batch Þle without exiting the primary batch Þle. When the secondary batch Þle is done executing, control is returned to the primary batch Þle.
Syntax CALL batchfile [batchfile arguments]
Remarks Parameters for the secondary batch Þle may also be included, if appropriate.
Examples CALL BATCH2
This command executes the batch Þle BATCH2.BAT. CALL MYBATCH FILEX FILEZ
This command executes the batch Þle MYBATCH.BAT. The arguments passed to MYBATCH.BAT are: %1 = FILEX %2 = FILEZ
5-19
Page 72
PDT 3200 Technical Reference Guide
Command Type Purpose
CHDIR (CHange DIRectory) Internal
Changes the default directory.
Syntax CHDIR [d:][path]subdir CD [d:][path]subdir
Remarks Subdir is the name of the new default subdirectory. Note that CD may be used instead of CHDIR. The new directory which is to become the default must already exist. See MKDIR for creation of subdirectories. A series of two periods (..) can be used to indicate a move back to the parent directory. Specifying only the backslash (\) for the subdir argument will move you to the root directory of the current default drive.
Examples CHDIR \TOOLS
Entering of this command will move you into the subdirectory called TOOLS, whose parent directory is the root of the current default drive. CD A:
Entering of this command will display the current directory on drive A:. Any valid drive letter can be substituted to get the current directory on that drive. The following examples will all use this directory tree structure:
5-20