Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 6 of 16

PDT 3200 Technical Reference Guide: Chapter 5 ROM-DOS Commands, pages 53 to 62

Pages 53 to 62 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 53

Chapter 5 ROM-DOS Commands Chapter Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 Command Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 ROM-DOS vs. MS-DOS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Command Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10 ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11 @ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13 ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14 ATTRIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15 BREAK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17 BUFFERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18 CALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19 CHDIR (CHange DIRectory) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20 CHKDSK (CHecK DiSK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22 CLS (CLear Screen) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24 COMMAND (Command Processor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25 COPY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27 COUNTRY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31 CTTY (Change TeleTYpe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34 DATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35 DEL (DELete) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-37 DEVICE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39 DEVICEHIGH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40 DIR (DIRectory) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41 DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44 ECHO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45 ERASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47 EXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-49 FCBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-50 FILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-51 FIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-52 FOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54 GOTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55 HELP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56 IF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57 INCLUDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59 INSTALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-61

5-1

Page 54

PDT 3200 Technical Reference Guide

LASTDRIVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-62 LOADHIGH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-63 MENUCOLOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-64 MENUDEFAULT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-65 MENUITEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-67 MKDIR (Make DIRectory) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-69 NEWFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-70 NUMLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-71 PATH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-72 PAUSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-73 PRINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-74 PROMPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-76 REM (REMark) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-78 REN (REName) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-79 RMDIR (ReMove DIRectory) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-80 SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-81 SHARE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-82 SHELL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-83 SHIFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-84 SORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-85 STACKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-86 SUBMENU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-87 SWITCHES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-89 TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-90 TREE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-92 TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-93 VER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-94 VERIFY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-95 VOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-96 XCOPY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-97 XDEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-99

5-2

Page 55

Chapter 5: ROM DOS Commands

Introduction This chapter lists the Datalight ROM-DOS commands that are available in the PDT 3200. ROM-DOS commands that differ from their MS-DOS equivalents are identiÞed and described. The information in this chapter is taken from DatalightÕs ROM-DOS 6.22 UserÕs Guide and is used by permission.

5-3

Page 56

PDT 3200 Technical Reference Guide

Command Overview Table 5-1 lists the Datalight ROM-DOS commands that are provided with the PDT 3200 and gives a brief description of each command. Table 5-1. DOS Commands Used with the PDT 3200 Command

5-4

Description

?

CONFIG.SYS command. Directs ROM-DOS to pause for conÞrmation before processing a command.

@

Suppresses the display of a single batch Þle command line.

;

Same as REM. IdentiÞes nonexecuting lines.

ATTRIB

Displays or modiÞes the attributes associated with a Þle.

BREAK

CONFIG.SYS command. Enables or disables the ability to stop program execution at a non-I/O point.

BUFFERS

CONFIG.SYS command. Sets the number of internal data buffers.

CALL

Batch subcommand. Invokes execution of a secondary batch Þle.

CHDIR

CHange DIRectory (also CD). Changes the default directory.

CHKDSK

CHecK DiSK. Checks integrity of data on a disk. Displays information.

CLS

CLear Screen. Clears all information from the viewport.

COMMAND

Spawns a second DOS command processor.

COPY

Copies Þles from one storage location to another.

CTTY

Change TeleTYpe. Changes the default terminal interacting with ROM-DOS.

Page 57

Chapter 5: ROM DOS Commands

Table 5-1. DOS Commands Used with the PDT 3200 (Continued) Command

Description

DATE

Displays the date from the system's internal calendar and allows revision.

DEL

DELete. Deletes speciÞed Þles.

DEVICE

CONFIG.SYS command. Installs a device driver into ROM-DOS.

DOS

CONFIG.SYS command. Installs ROM-DOS into high-memory area (HMA).

ECHO

Batch subcommand. Turns on the display of batch execution on the viewport.

ERASE

Same as DEL. Erases speciÞed Þles.

EXIT

Exits ÒnestedÓ running of ROM-DOS within another program.

FCBS

CONFIG.SYS command. SpeciÞes the number of Þle control blocks (FCBS) open at one time.

FILES

CONFIG.SYS command. Sets the maximum number of Þles that can be open at one time on the system.

FIND

Works as a Þlter to display only lines that contain a speciÞed string.

FOR

Batch subcommand. Performs one DOS command on a set of Þles.

GOTO

Batch subcommand. Moves control to a speciÞed line in the batch Þle.

HELP

Lists all available ROM-DOS commands along with brief descriptions.

IF

Batch subcommand. Performs a command based on a speciÞed condition.

5-5

Page 58

PDT 3200 Technical Reference Guide

Table 5-1. DOS Commands Used with the PDT 3200 (Continued) Command

5-6

Description

INCLUDE

CONFIG.SYS command. Allows instructions in one conÞguration block to be included with instructions in another conÞguration block.

INSTALL

Loads terminate-and-stay resident (TSR) programs during CONFIG.SYS processing.

LASTDRIVE

Sets the maximum number of drives.

MENUDEFAULT

Sets the default menu item choice and time-out value for making a selection.

MENUITEM

SpeciÞes an item to be placed in the startup menu displayed during system boot.

MKDIR

MaKe DIRectory (also MD). Creates a new subdirectory.

NEWFILE

Allows continuation of CONFIG.SYS processing from a new Þle.

PATH

Displays current command search path(s). A new path line can be speciÞed.

PAUSE

Batch subcommand. Causes execution to halt until a key is pressed.

PRINT

Prints a list of Þles, up to ten Þles.

PROMPT

Resets the appearance of the system prompt line.

REM

REMark. A batch subcommand for identifying nonexecuting lines.

REN

REName. Renames Þles.

RMDIR

ReMove DIRectory (also RM). Deletes a speciÞed subdirectory.

SET

Sets environment variables and command processor strings.

SHARE

Installs the capabilities for Þle sharing and Þle locking on your hard disk.

Page 59

Chapter 5: ROM DOS Commands

Table 5-1. DOS Commands Used with the PDT 3200 (Continued) Command

Description

SHELL

Allows selections of an alternate boot program other than the default COMMAND.COM command processor.

SHIFT

Batch subcommand. Shifts replaceable parameters one position Òto the left.Ó

SORT

Sorts a text Þle and displays the output to the standard device.

STACKS

Allows for the use of dynamic data stacks to handle interrupts. Note: ROM-DOS does not utilize this command.

SUBMENU

DeÞnes a menu item that represents a secondary menu.

SWITCHES

Allows special CONFIG.SYS Þle options.

TIME

Displays the current time from the system's internal clock. Allows revision.

TREE

Displays the path of each directory on a speciÞed drive.

TYPE

Displays the contents of a text Þle on the viewport.

VER

Displays current version of ROM-DOS on the viewport.

VERIFY

Displays the current VERIFY state or sets the VERIFY state to on or off.

VOL

Displays the volume label on a disk.

XCOPY

Copies multiple Þles and, optionally, subdirectories.

XDEL

Deletes Þles and subdirectories including empty subdirectories.

5-7

Page 60

PDT 3200 Technical Reference Guide

ROM-DOS vs. MS-DOS Table 5-2 identiÞes differences between ROM-DOS commands and their MS-DOS equivalents. For more information, see the individual command descriptions in the next section. Table 5-2. Difference Between ROM-DOS and MS-DOS Commands Command

Features Exclusive to ROM-DOS

ATTRIB

-C: Clears all Þle attributes

BUFFERS

/S: Processes Þles in all subdirectories Allows designation of secondary buffer cache BUFFERS n,m where m is secondary buffer cache

CHKDSK

/C: Corrects errors without user conÞrmation

COMMAND

/Y: Steps through batch Þle speciÞed by /C or /K switch Internal command help only HELP.HLP in MS-DOS includes all commands (external and internal), installable drivers, etc.

DIR

/A X: Shows attributes

FCBS

, [minimum number]

FIND

5-8

Features Exclusive to MS-DOS

/O:C and /O:-C: Sorts by compression ratio /C[H]: Displays compression ratio of Þles compressed using Drivespace or Doublespace

/I: Not case-sensitive

HELP

Requires COMMAND.HLP

MS-DOS requires external Þle, HELP.COM, but provides more help text

NEWFILE

ALL

Not available with MS-DOS

Page 61

Chapter 5: ROM DOS Commands

Table 5-2. Difference Between ROM-DOS and MS-DOS Commands (Continued) Command

Features Exclusive to ROM-DOS

Features Exclusive to MS-DOS

PRINT

/F: Sets maximum number of Þles

/D:LPTx (PDT 3200 has no parallel port.) /U /M /S /Q

SHARE

/U: Unloads SHARE.EXE

/F:space: Allocates space to record

SWITCHES

/W

TREE

/A: Indicates no graphics characters for tree symbols

VER

/R: Shows full version and release number Allows revision of the version number

XCOPY XDEL

/Y /-Y: Turns conÞrmation prompts on or off All

Not available with MS-DOS Similar to DELTREE

5-9

Page 62

PDT 3200 Technical Reference Guide

Command Descriptions This section provides descriptions of the ROM-DOS commands listed in Table 5-2. Each entry includes an explanation of the command's purpose, the command entry syntax, remarks, and examples. Each command also has a label to designate whether it is an internal or external command. Internal commands are part of the command processor program, COMMAND.COM. These functions are available only while COMMAND.COM is running. External commands are actually stand-alone utility programs. They are independent from COMMAND.COM. Internal commands that are unique to CONFIG.SYS processing are also identiÞed. These commands can be used only in a CONFIG.SYS Þle.

5-10