Page 4
The software is provided strictly on an Òas isÓ basis. All software, including Þrmware, furnished to the user is on a licensed basis. Symbol grants to the user a non-transferable and non-exclusive license to use each software or Þrmware program delivered hereunder (licensed program).
About This Manual This manual is a supplement to the PDT 3200 Product Reference Guide. It is provided as a reference for system administrators, developers, and programmers who want to create end-user solutions for the PDT 3200 terminal. This reference guide contains technical information about the PDT 3200Õs system conÞguration, disk drives, utilities, and DOS commands.
Page 10
Indicates a text displayed on a screen or terminal. Screen Note: Indicates tips or special requirements. Caution Indicates conditions that can cause equipment damage or data loss. ARNING Warnings indicate procedures that are potentially dangerous and should therefore be performed only by Symbol-authorized repair personnel.
This organization provides an easy-to-use, extensible system that allows a high degree of performance, usability, and customization. The following sections more fully describe the contents and intended uses of each of the PDT 3200Õs drives. Drive A Drive A is a disk image that is located in ßash along with the BIOS and ROM-DOS. A read-only drive, it is intended to remain secure throughout the life of the unit.
PDT 3200 Technical Reference Guide The CONFIG.SYS and AUTOEXEC.BAT Þles contain only basic commands that the unit needs to run correctly (see Figure 1-1 and Figure 1-2). Both Þles chain to their respective counterparts on the B drive, as described in the next section.
Page 15
Chapter 1: Default Disk Driver Organization and Unit Configurations ¥ CONFIG.SAF, the second Þle in the safe-boot sequence ¥ CONFIG.SYS, the second Þle in the boot sequence ¥ COREUPD.COM, the utility that updates the Þrmware image ¥ DECODE.SYS, the bar code decoding device driver ¥...
Page 16
PDT 3200 Technical Reference Guide REM **************************************** REM Standard CONFIG.SYS for building system. REM **************************************** REM *************************** REM Create flash and RAM drives REM *************************** DEVICE = B:\FLASHDSK.SYS 4096 DEVICE = B:=VDISK.SYS 4096 /e REM ********************************* REM Load decode/configuration drivers REM ********************************* DEVICE = B:\DECODE.SYS...
Þles. The PDT 3200 preserves the data on drive D between warm or cold boots by checking for an existing RAM disk. However, only minimal checking is performed on any disk that is found;...
PDT 3200 Technical Reference Guide Drive E Drive E is the ATA ßash card. The PC card looks like a hard disk drive to the operating system and the user. More ßexible than ßash disk drive C, it can be used for safer and more permanent bulk storage of batch data than the RAM disk (drive D).
PC card device drivers and utilities as well as RF networking solutions can be installed to drive C (the ßash drive) or drive D (the RAM drive). You can use the PDT 3200 ConÞgura- tion Utility to download the necessary Þles to the PDT 3200.
The conÞguration created by DEFAULT.CFG in the PDT 3200 ConÞguration Utility will create a C drive that contains PALPRO.EXE, part of the Symbol Portable Applications Li- brary (PAL). The data Þles will be stored on drive D. PC card drivers able to support ATA cards will be loaded.
Phoenix Super Client Driver (PCMSCD.EXE) to the C:\PCM subdirec- tory on the PDT 3200. It will also add the command for loading of this driver to the CONFIG.SYS Þle. The CONFIG.SYS and AUTOEXEC.BAT Þles below were created by eliminating ATA card support and adding I/O card support to DEFAULT.CFG.
Page 22
PDT 3200 Technical Reference Guide REM --------------------------------------------------------- REM --- The following lines set up default parameters for some REM --- environment variables. These lines may be modified or REM --- overridden in the USER section below. REM --------------------------------------------------------- set prompt=$p$g...
Chapter 2: System Utilities Introduction This chapter describes the utilities that are designed to be run on a PDT 3200 unit. For each device driver or executable Þle, a brief description is given, followed by any com- mand line parameters and their meanings. Any parameters listed may be supplied using either upper- or lowercase letters, and the hyphen (-) may be substituted for the forward slash (/).
PDT 3200 Technical Reference Guide CFGDEV.SYS CFGDEV.SYS is located on drive B of the PDT 3200 unit. When CFGDEV.SYS is loaded by B:\CONFIG.SYS, a logical character-based device called PARAMS is created. This device receives programming strings that modify the conÞguration parameters that control the behavior of several system components.
DECODE.SYS is located on drive B of the PDT 3200 unit and is loaded by the CONFIG.SYS Þle located on that drive. You cannot eliminate the loading of DECODE.SYS except through the safe-boot process.
PDT 3200 Technical Reference Guide PM.COM Use this utility to control various power-management features of the PDT 3200. You can use it at the command line or in a batch Þle (including AUTOEXEC.BAT) to set or read power-management settings. Syntax...
Page 29
Chapter 2: System Utilities /t # Sets the auto-off timeout. Replace the # with the number of seconds of nonuse before the unit should transition to its lowest power state. The range of acceptable values for # is 16 to 1032 or 0 for off; the default is 300 seconds (5 minutes).
ßash disk. Reading from a ßash disk is fast, but writing can be somewhat slower. This driver is located on the PDT 3200Õs drive B and is loaded by the CONFIG.SYS Þle located on that drive. You cannot eliminate the loading of FLASHDSK.SYS.
Þles stored on the ßash disk. Whenever the PDT 3200 is rebooted, write protection on a drive will be disabled, which is the default state. To lock the drive upon bootup, include a LOCK command in the AU- TOEXEC.BAT Þle on drive C.
ORGANIZE.COM has a greater effect on a ßash disk as the disk gets closer to being full. Note: The only PDT 3200 drive you can organize with this utility is the ßash disk created with the FLASHDSK.SYS driver. ATA ßash drives will not respond properly to this utility.
Chapter 2: System Utilities FORMAT.COM Formats a read-write disk drive. Only the ßash and RAM drives may be formatted using this command. FORMAT uses the existing drive parameters to recreate the drive, but without any Þles stored on it. This provides a quick method for cleaning out an existing drive.
If used with the /s option, this option speciÞes the delay between packets, in 55-millisec- ond intervals. Replace the # symbol with the desired number of delay intervals. The range of acceptable values for # is 0 to 65,535. If neither /p nor /s is speciÞed, this op- tion is ignored.
Page 35
Chapter 2: System Utilities Uses Symbol ACK/NAK protocol for the transfer. Runs the transfer Òquietly.Ó If you use this option, only the Þlename and a ÒTransmit- ting...Ó or ÒReceiving...Ó message is displayed. If you do not use this option, additional in- formation will be displayed.
This driver conÞgures all of the unitÕs available extended memory as a read/write disk, called a RAM disk. This driver is located on drive B of the PDT 3200 unit and is loaded by the CONFIG.SYS Þle located on that drive. You cannot conÞgure the parameters for this driver.
One of the critical features of any portable data collection device is its ability to protect against accidental data loss. In the event a PDT 3200 unit becomes Òlocked upÓ or other- wise in a state in which data can no longer be processed, you can use any of four methods to reset the unit.
CTRL-ALT-DEL key sequence available with IBM-compatible PCs, and the same key sequence is used to force a warm boot on a PDT 3200 unit. This method of reset- ting a unit should be used Þrst to attempt to bring it back to a usable state.
Reset button on the front of many desktop PCs or to turning the power off and then on. To perform a cold boot on a PDT 3200 unit, Þrst turn it off. Then press and hold the ALT and FN 2 buttons while pressing the power button. Release all three buttons simulta- neously, and the unit resets.
This can be accomplished with the DOS Ctrl-C, F5, and F8 escape sequences. The PDT 3200 provides an alternative method that is less accessible to the end user. To by- pass the CONFIG.SYS and AUTOEXEC.BAT Þles on drive C, reboot the unit (with either a cold or warm boot), and when the message ÒWaitÉÓ...
PC card slot cover (see Figure 3-1). Touch a metal device (such as a paper clip) to the two contacts on the reset mechanism. This will cause the PDT 3200 to begin a cold boot. Figure 3-1. Location of the Hardware Reset Mechanism...
PDT 3200. Some of these are more critical to success on a PDT 3200 than on a PC, because of the hardware environment of the PDT 3200. The following are some important guidelines for programming PDT 3200 applications: ¥...
Page 45
Chapter 4 Using PC Cards Chapter Contents Introduction ..............4-3 Overview .
¥ LAN connectivity ¥ Radio frequency (RF) communications PDT 3200 supports Type 1 and Type 2 PC cards. Only one card of either type can be in- stalled in the unit at any one time. This chapter describes the use of PC cards with the unit. It does not provide details about speciÞc cards, such as communications protocols for fax/modem cards.
(RF) communications. Using ATA ßash memory cards enables you to conÞgure a PDT 3200 for a theoretical maximum of 64MB of memory. The card appears as a hard drive to the user. RF communications cards allow you to connect the portable PDT 3200 unit to a traditional network and to access shared network resources in a transparent fashion.
Configuring Your PC Card PhoenixCARD Manager Plus (PCM+) To attain compatibility with as many PC cards as possible, the PDT 3200 utilizes card and socket services supplied by Phoenix Technologies. These card and socket services are im- plemented as installable device drivers and are loaded using the DEVICE= command in the CONFIG.SYS Þle.
ATA cards are ßash memory cards that utilize the IDE interface. This allows the ßash to appear as a hard drive. Any ATA PC card should work on the PDT 3200 unit with the ap- propriate drivers installed. The following ATA cards are approved for use on the PDT 3200: ¥...
Chapter 4: Using PC Cards RF Cards Because of the special requirements of RF environments, Symbol Technologies is distribut- ing PDT 3200 RF units to qualiÞed customers only. Please contact your representative to see if you are qualiÞed.
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 de- scribed. The information in this chapter is taken from DatalightÕs ROM-DOS 6.22 UserÕs Guide and...
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 Description CONFIG.SYS command.
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. DELete. Deletes speciÞed Þles. DEVICE CONFIG.SYS command. Installs a device driver into ROM-DOS.
Page 58
PDT 3200 Technical Reference Guide Table 5-1. DOS Commands Used with the PDT 3200 (Continued) Command 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.
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.Ó...
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...
Page 61
Table 5-2. Difference Between ROM-DOS and MS-DOS Commands (Continued) Command Features Exclusive Features Exclusive to ROM-DOS to MS-DOS PRINT /F: Sets maximum number /D:LPTx (PDT 3200 has no of Þles parallel port.) SHARE /U: Unloads SHARE.EXE /F:space: Allocates space to record SWITCHES...
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, re- marks, and examples. Each command also has a label to designate whether it is an internal or external com- mand.
Page 63
Chapter 5: ROM DOS Commands Command Type Internal Purpose 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...
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.
Page 65
Chapter 5: ROM DOS Commands Command Type Internal Purpose 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.
Page 66
PDT 3200 Technical Reference Guide Command Type Internal Purpose 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.
Chapter 5: ROM DOS Commands Command ATTRIB Type External Purpose 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.
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.
Chapter 5: ROM DOS Commands Command BREAK Type Internal Purpose 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.
PDT 3200 Technical Reference Guide Command BUFFERS Type CONFIG.SYS Purpose 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.
Chapter 5: ROM DOS Commands Command CALL Type 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...
PDT 3200 Technical Reference Guide Command CHDIR (CHange DIRectory) Type Internal Purpose 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.
Page 73
Chapter 5: ROM DOS Commands CD D:\TEST\NEW This command will move you into the subdirectory called NEW, located on the D: drive, under the parent directory TEST. CHDIR .. This command will move you back to the parent directory of the current subdirectory.
PDT 3200 Technical Reference Guide Command CHKDSK (CHecK DiSK) Type External Purpose The CHKDSK command checks the disk directories and File Allocation Table (FAT) and displays a disk and memory report. Syntax CHKDSK [ d: ][ path ][ filespec ][/C] [/F] [/V]...
Page 75
Chapter 5: ROM DOS Commands Answering N for No to the above prompt, CHKDSK will still make the corrections however the lost chains will not be saved to the disk. The /C option allows CHKDSK to correct errors without user conÞrmation. This option must be used along with the /F option for corrections to be made.
PDT 3200 Technical Reference Guide Command (CLear Screen) Type Internal Purpose Clears the viewport to display a blank screen. Syntax Remarks CLS clears the screen except for the ROM-DOS prompt and the cursor in the upper left-hand corner. There are no additional options for CLS.
Chapter 5: ROM DOS Commands Command COMMAND (Command Processor) Type External Purpose Start a new Command Processor. Syntax COMMAND[ device ][/E: number ][/K: filename ][/P][/C string ][/ MSG ] Remarks This command starts a new copy of the ROM-DOS Command Processor. The Command Processor is the program that has all the internal DOS commands in it.
Page 78
PDT 3200 Technical Reference Guide many of its error messages in the resident part of COMMAND.COM rather than using valuable memory to store them. If an error message is needed and you have loaded ROM-DOS from a diskette, the message will only be available if the boot disk is still in the drive.
Chapter 5: ROM DOS Commands Command COPY Type Internal Purpose Copies a Þle or set of Þles to a speciÞed destination which could be on another disk, or on another subdirectory on the current disk, or on a completely different drive. COPY may also be used to alter the Þlename within the current directory.
Page 80
PDT 3200 Technical Reference Guide Options The /A and /B options stand for ASCII and binary, respectively. They act as switches that allow each of these Þle types to be copied. When one of them is used, it applies the preceding Þlename, and remains in effect for any Þlenames following in the command line until superseded by another /A or /B.
Page 81
Chapter 5: ROM DOS Commands This option indicates that you want to conÞrm the copy of one Þle over the existing Þle of the same name. Using this option will override the setting made by the COPYCMD environment variable. The COPYCMD environment variable can be set using the SET command. This allows you to set conÞrmation on or off for the COPY command.
Page 82
PDT 3200 Technical Reference Guide COPY JAN.DAT + FEB.DAT + MAR.DAT QTR1.DAT Copies the Þles JAN.DAT, FEB.DAT, and MAR.DAT in sequence into the single Þle, QTR1.DAT. COPY CON NEWFILE.TXT Sets up your console (keypad) to input directly to NEWFILE.TXT. <Ctrl><Z>...
Chapter 5: ROM DOS Commands Command COUNTRY Type CONFIG.SYS Purpose ROM-DOS supports multiple country formats for time, date, and currency, as well as other basic country-speciÞc information. A country is identiÞed by a three-digit international telephone country code. Syntax COUNTRY = countrynumber [ codepage ] Remarks The Þle COUNTRY.SYS must be present in the same directory as your CONFIG.SYS Þle.
Page 84
PDT 3200 Technical Reference Guide The following table shows the currently supported countries: Alternative Country Code Code Page Code Page Australia Belgium Brazil Canadian-French Czech Republic Denmark Finland France Germany Hungary Italy Japan Latin America Netherlands Norway Poland Portugal Spain...
Page 85
Chapter 5: ROM DOS Commands Examples COUNTRY= 049 COUNTRY = 049, 437 The next time you start ROM-DOS with either of these COUNTRY commands, the date and time will be displayed as follows: DATE Current date is Wed 20.06.1990 Enter new date (dd.mm.yy): TIME Current time is 16:39:54,45 Enter new time:...
PDT 3200 Technical Reference Guide Command CTTY (Change TeleTYpe) Type Internal Purpose Allows you to direct input and output to a device other than your computer's standard keypad and viewport. Syntax CTTY device Remarks This command would be used in any situation requiring interaction with an alternate console.
Chapter 5: ROM DOS Commands Command DATE Type Internal Purpose Displays the current date (month, day, year) as known to ROM-DOS and also allows you opportunity to change it. Syntax DATE [ mm-dd-yy ] Remarks The date set by this command is used, among other things, for Òdate stampingÓ your Þle-revision dates.
Page 88
PDT 3200 Technical Reference Guide DATE 6-10-97 Valid entries for months, days, and years are: mm = 1-12 dd = 1-31 yy = 80-99 (for years with 19 as the century). ROM-DOS will Þgure out the day of the week; do not include it in your entry.
Chapter 5: ROM DOS Commands Command (DELete) Type Internal Purpose Deletes a speciÞed Þle or set of Þles. Syntax DEL [ d: ][ path ] filename [/P] Remarks The DEL command and the ERASE command are functionally identical. When no drive is speciÞed, the default is assumed. When no path is speciÞed, the default path is assumed.
Page 90
PDT 3200 Technical Reference Guide Options The /P option causes DEL to pause and prompt the user before each Þle is deleted. This option is most useful when deleting Þles with wildcards. A sample prompt is shown below: Filename , Delete (Y/N) ? Examples This example deletes all Þles on the A: drive with a .DOC extension.
Chapter 5: ROM DOS Commands Command DEVICE Type CONFIG.SYS Purpose A device driver may be installed into ROM-DOS via the DEVICE command. Syntax DEVICE = device_driver arguments Remarks A device driver is used to allow ROM-DOS to access hardware that is not common in all PCs.
PDT 3200 Technical Reference Guide Command DEVICEHIGH Type CONFIG.SYS Purpose Loads an installable device driver into the upper memory area if available. Syntax DEVICEHIGH = device_driver arguments Remarks A device driver is used to allow ROM-DOS to access hardware that is not common in all PCs.
Hidden Files Read Only Files System Files Show Attributes The dash (-) symbol can be used to negate listed attributes. For example, to select all Þles that do not have the archive bit set, use the /A -A option. 5-41...
Page 94
Directories grouped before Þles Alphabetic order by name Size, smallest Þrst The dash (-) symbol can precede the sort option to reverse the sort order. For example, to sort all Þles in the directory in reverse alphabetic order, use the / O-N option.
Page 95
Chapter 5: ROM DOS Commands variable. Refer to the SET command section for proper usage. For example, if you wanted to always have the /P option set for DIR, the statement SET DIRCMD=/P could be used. The default settings in DIRCMD can be overridden by using the minus sign (-) preceding the option.
PDT 3200 Technical Reference Guide Command Type CONFIG.SYS Purpose ROM-DOS can be loaded in special memory, called the high-memory area, or HMA, freeing more of the conventional (lower 640K) DOS memory for use by applications. Syntax DOS=HIGH Remarks The DOS=HIGH command frees up more of the standard DOS memory for use by applications.
ECHO command begins each line of the message. The @ symbol can be used to suppress the echoing of a single command when ECHO is off. Place the @ symbol Þrst on the command line.
Page 98
PDT 3200 Technical Reference Guide ECHO to another directory. To set ECHO to off , enter the following command: ECHO OFF 5-46...
Chapter 5: ROM DOS Commands Command ERASE Type Internal Purpose Deletes a speciÞed Þle or set of Þles. Syntax ERASE [ d: ][ path ] filename [/P] Remarks The DEL command and the ERASE command are functionally identical. When no drive is speciÞed, the default drive is assumed. When no path is speciÞed, the default path is assumed.
Page 100
PDT 3200 Technical Reference Guide The /P option causes ERASE to pause and prompt the user before each Þle is deleted. This option is most useful when deleting Þles with wildcards. A sample prompt is shown below: Filename , Erase (Y/N) ? Examples Erases the Þle MYLETTER.DOC from the current default subdirectory.
Chapter 5: ROM DOS Commands Command EXIT Type Internal Purpose Exits a secondary ÒnestedÓ ROM-DOS operation, and returns control of the system to the primary program. Syntax EXIT Remarks The EXIT command has no effect if a secondary COMMAND.COM command processor has not been loaded since the primary COMMAND.COM is always loaded in a ÒpermanentÓ...
PDT 3200 Technical Reference Guide Command FCBS Type CONFIG.SYS Purpose The FCBS command allows you to specify the number of Þle control blocks (FCBs) open at one time. Syntax FCBS = number [, minimum number ] Remarks Number speciÞes the maximum number of FCBs open at any given time. The default for this value is 4.
Chapter 5: ROM DOS Commands Command FILES Type CONFIG.SYS Purpose The maximum number of Þles that may be open at one time can be modiÞed using the FILES command. Syntax FILES = number Remarks The number of Þles includes the standard Þles stdin, stdout, stderr, stdprn, and stdaux.
PDT 3200 Technical Reference Guide Command FIND Type External Purpose FIND is a Þlter to display only lines that contain a speciÞed string. The input to FIND may come from a Þle, or it may be piped in from another Þlter or a DOS command.
Page 105
Chapter 5: ROM DOS Commands FIND /C ROM-DOS MANUAL.TXT ..MANUAL.TXT: 105 5-53...
The FOR subcommand can be used directly on the command line as well as within a batch Þle. To use on the command line, substitute a single percent (%) symbol for the double percent signs (%%). Examples FOR %%N IN (Q1.TXT Q2.TXT) DOPRINT %%N...
Chapter 5: ROM DOS Commands Command GOTO Type Internal Batch Subcommand Purpose The GOTO subcommand transfers control to another line of the batch Þle. Syntax GOTO label Remarks The label is another line in the batch Þle consisting of a string up to eight characters long.
PDT 3200 Technical Reference Guide Command HELP Type Internal Purpose Provides on-line help of each ROM-DOS command. Syntax HELP < command > Remarks HELP serves as a memory aid. For complete information about ROM-DOS commands, always consult this manual. HELP for each command can also be displayed by entering /? following the command name.
Page 109
Chapter 5: ROM DOS Commands Command Type Internal Batch Subcommand Purpose The IF subcommand allows conditional execution of commands. Syntax IF [NOT] condition command Remarks The condition may be any one of the following: ERRORLEVEL number string1 == string2 EXIST [ d: ][ path ] filename If the condition is true then the command is executed, otherwise the command is bypassed and the next command in the batch Þle is executed.
Page 110
PDT 3200 Technical Reference Guide IF %1 == CONFIG.SYS PRINT %1 This command will print the Þle stored as the %1 parameter only if its exact name is CONFIG.SYS. IF NOT EXIST OLD COPY CONFIG.SYS OLD If there is not a Þle named OLD, this command will copy CONFIG.SYS to OLD.
Chapter 5: ROM DOS Commands Command INCLUDE Type CONFIG.SYS Purpose The INCLUDE command can be used to include the contents of one conÞguration block into another. The instructions from the originating instruction block, as well as the included block, will be carried out. This command can only be used within a CONFIG.SYS conÞguration block.
Page 112
PDT 3200 Technical Reference Guide INCLUDE=MISC If ÒWORDPROCÓ was chosen from a CONFIG.SYS menu, the instructions in the conÞguration block labeled [WORDPROC] would be carried out. The instructions in the INCLUDED block labeled [MISC] would also be implemented as part of the [WORDPROC] block of instructions.
Chapter 5: ROM DOS Commands Command INSTALL Type CONFIG.SYS Purpose The INSTALL command loads terminate-and-stay-resident (TSR) programs during CONFIG.SYS processing. Syntax INSTALL = [ d :\][ path ] TSR_Program TSR_Arguments Remarks The TSR program is loaded much the same as if loaded from AUTOEXEC.BAT, except that an environment is not created.
PDT 3200 Technical Reference Guide Command LASTDRIVE Type CONFIG.SYS Purpose Set the maximum number of drives. Syntax LASTDRIVE = letter Remarks Letter may be any character between A and Z. It stands for the last drive letter that ROM-DOS will be able to access. The default value is E.
Chapter 5: ROM DOS Commands Command LOADHIGH Type Internal Purpose Loads an executable or terminate-and-stay-resident (TSR) program into the upper memory area if available. LOADHIGH can be run as a batch subcommand or from the DOS command line. Syntax LOADHIGH = executable [ arguments ] LH = executable [ arguments ] Remarks An executable or TSR program can be loaded into the upper memory areas if they...
PDT 3200 Technical Reference Guide Command MENUCOLOR Type CONFIG.SYS Purpose The MENUCOLOR command allows you to set the text and background colors for the startup menu. This command can only be used in a menu block within your CONFIG.SYS Þle.
Chapter 5: ROM DOS Commands Command MENUDEFAULT Type CONFIG.SYS Purpose The MENUDEFAULT command allows you to set the default menu item choice and a time-out value for making a menu selection. This command can only be used with a menu conÞguration block in the CONFIG.SYS Þle. Syntax MENUDEFAULT = blockname [, timeout ] Remarks...
Page 118
PDT 3200 Technical Reference Guide menudefault=Word_Proc,20 The above example makes the Word_Proc conÞguration block the default menu item. If the user fails to make a selection within 20 seconds, the Word_Proc block will be processed. 5-66...
Chapter 5: ROM DOS Commands Command MENUITEM Type CONFIG.SYS Purpose The MENUITEM command allows you to specify an item on the startup menu. This command can only be used within a menu conÞguration block in the CONFIG.SYS Þle. Syntax MENUITEM = blockname [, menu_text ] Remarks The blockname argument is a user deÞned label given to a conÞguration block deÞned elsewhere in the CONFIG.SYS Þle.
Page 120
PDT 3200 Technical Reference Guide menudefault=Word_Proc,20 The above example deÞnes three menu items, Word_Proc, Network, and Research. Each of these has descriptive text and a set of commands deÞned later in the CONFIG.SYS Þle. At boot time, these menu items would be displayed in the startup menu as follows: ROM-DOS 6.22 STARTUP MENU...
Chapter 5: ROM DOS Commands Command MKDIR (Make DIRectory) Type Internal Purpose Creates a new subdirectory. Syntax MKDIR [ d: ][ path ] subdir MD [ d: ][ path ] subdir Where subdir is the name of the new subdirectory to be created. Note that MD may be used instead of the full MKDIR.
PDT 3200 Technical Reference Guide Command NEWFILE Type CONFIG.SYS Purpose The NEWFILE command allows you to continue CONFIG.SYS Þle processing from a new Þle. The Þle can be located on in another directory or even on a different drive. Syntax...
Chapter 5: ROM DOS Commands Command NUMLOCK Type CONFIG.SYS Purpose The NUMLOCK command is used to set the Num Lock key on the keyboard to on or off when your computer starts. Syntax NUMLOCK=[on|off] Remarks Selecting ON designates that the Num Lock key is set to on when DOS boots. Selecting OFF designates that the Num Lock will be off when DOS boots.
PDT 3200 Technical Reference Guide Command PATH Type Internal Purpose Sets the search path for command Þles that are not in the current directory. Syntax PATH [ d: ][ path ][;[ d: ][ path ]...] Remarks Without a speciÞed search path, ROM-DOS will look for an external command Þle (i.e., one with an extension of BAT, COM, or EXE) only in the current directory.
Chapter 5: ROM DOS Commands Command PAUSE Type Internal Batch Subcommand Purpose Suspends the execution of a batch Þle. Resumes operation when any key is depressed. Syntax PAUSE [ message ] Remarks A batch job may require that you perform some action such as changing disks, or choose to continue or terminate the operation.
PDT 3200 Technical Reference Guide Command PRINT Type External Purpose The PRINT utility prints a single Þle or a list of Þles. Syntax PRINT [ /d :] [ filename ] [/ options ] Remarks PRINT allows you to enter between 1 and 32 Þles for spooling to the printer. The Þles are output to the device in a spooled manner (while the user performs other...
Page 127
Chapter 5: ROM DOS Commands This option is only allowed the Þrst time PRINT is run (or until the next system reboot). The /P option causes all Þles listed after this option to be submitted for printing. This is the default for Þlenames encountered on the PRINT command line. The /T option cancels all the Þles from the print queue (list).
The prompt which ROM-DOS normally displays is the letter of the current drive followed by a right arrow (>) (the Ògreater-thanÓ symbol). By use of the PROMPT command, this prompt can be changed to include any combination of a message, the current directory, the date, the time, and some other features.
Page 129
Chapter 5: ROM DOS Commands PROMPT Current directory is $P;$_Ready for command$G To show on separate lines the date, time, and current directory followed by the greater-than character and a space, type: PROMPT $D$_$T$_$P$G<space> here <space> refers to pressing the spacebar once. The resulting prompt will look like: Mon 6-26-1989 10:17:45.99...
PDT 3200 Technical Reference Guide Command (REMark) Type Internal Purpose The REM 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 ; command.
Chapter 5: ROM DOS Commands Command (REName) Type Internal Purpose Changes the name of a Þle. Syntax REN [ d: ][ path ] filename1 filename2 Remarks REN renames Þles within a directory; it will not move a Þle to a different drive or directory as part of the command.
PDT 3200 Technical Reference Guide Command RMDIR (ReMove DIRectory) Type Internal Purpose Removes (deletes) a speciÞed subdirectory. Syntax RMDIR [ d: ][ path ] subdir RD [ d: ][ path ] subdir Where subdir is the name of the subdirectory being deleted. Note that RD may be used instead of the full RMDIR.
Chapter 5: ROM DOS Commands Command Type Internal Purpose The SET command is used to set, display, or remove environment variables. Syntax SET [ variable = [ string ]] Remarks Environment variables can be used to control the behavior of programs and batch Þles and also the behavior of ROM-DOS.
PDT 3200 Technical Reference Guide Command SHARE Type External Purpose SHARE installs the capabilities for Þle-sharing and Þle-locking on your hard disk. Syntax SHARE [/ options ] Or from CONFIG.SYS: INSTALL=[ d: ][ path ]SHARE.EXE [/ options ] Remarks The SHARE utility is most commonly used in a network or multitasking environment where Þle sharing is necessary.
Chapter 5: ROM DOS Commands Command SHELL Type CONFIG.SYS Purpose The SHELL command allows the user to specify a different boot program other than the default COMMAND.COM. ROM-DOS will boot this new program, with arguments, instead of the one speciÞed internally. Syntax SHELL = boot_program arguments Remarks...
PDT 3200 Technical Reference Guide Command SHIFT Type Internal Batch Subcommand Purpose SHIFT moves each replaceable parameter for a batch Þle one position Òto the left.Ó Execution of the SHIFT command allows use of more replaceable parameters in a batch Þle--beyond the standard set of %0 through %9.
Chapter 5: ROM DOS Commands Command SORT Type External Purpose The SORT Þlter sorts a text Þle and displays the output to the standard device. Syntax SORT [/ options ] [ filename ] Remarks SORT normally starts its comparisons at the Þrst character in a line. The input to SORT may come from a Þle or it may be piped in from another Þlter or a DOS command.
PDT 3200 Technical Reference Guide Command STACKS Type CONFIG.SYS Purpose The STACKS command allows for the use of dynamic data stacks to handle hardware interrupts. ROM-DOS does not utilize this command, although it can be added to a CONFIG.SYS Þle without error. Using the STACKS command will have no effect on the number or size of stacks available.
Chapter 5: ROM DOS Commands Command SUBMENU Type CONFIG.SYS Purpose The SUBMENU command deÞnes a menu item that represents a secondary menu when selected. This command can only be used within a menu conÞguration block in the CONFIG.SYS Þle. Syntax SUBMENU= blockname [, menu_text ] Remarks The blockname argument deÞnes the name of the secondary menu block of...
Page 140
PDT 3200 Technical Reference Guide include=Word_Proc numlock=off [RESEARCH] menuitem=proj1, Project 1 menuitem=proj2, Project 2 menudefault=proj1 [PROJ1] files=50 buffers=25 numlock=on [PROJ2] files=10 buffers=20 device=vdisk.sys 64 /e numlock=off In the above example, a submenu is deÞned as one of the startup menu choices. If you were to select Research and Development from the Þrst menu, a secondary...
Chapter 5: ROM DOS Commands Command SWITCHES Type CONFIG.SYS Purpose The SWITCHES command allows special CONFIG.SYS Þle options. Syntax SWITCHES=[/k][/n][/f] Remarks The /k argument makes an enhanced keyboard behave like a conventional style keyboard. The /n argument prevents the use of the F5 and F8 function keys to bypass the startup commands.
PDT 3200 Technical Reference Guide Command TIME Type Internal Purpose Displays the current time as shown on the system's internal clock. Allows resetting of the clock. Syntax TIME [ hh : mm : ss ] [pm≠am] Remarks The time set by this command is used, among other things, for Òtime stampingÓ...
Page 143
Chapter 5: ROM DOS Commands am or pm. The time may be entered in a 24-hour format or a 12-hour format with the AM or PM designator. The allowed options for hours and minutes are: hh = 0–24 mm = 0–59 indicator = a, p, am, or pm ROM-DOS displays time to hundredths of seconds.
PDT 3200 Technical Reference Guide Command TREE Type External Purpose The TREE command displays each subdirectory and optionally the Þles within them for a speciÞed drive. Syntax TREE [ d: ] [/F] Remarks The TREE command displays the full path of each subdirectory on a speciÞed disk.
Chapter 5: ROM DOS Commands Command TYPE Type Internal Purpose Displays the contents of a text Þle on the screen. Syntax TYPE [ d: ][ path ] filename Remarks If a Þle containing formatting codes or other non-alphanumeric characters is displayed with TYPE, you will see unintelligible characters and possibly hear beeps.
PDT 3200 Technical Reference Guide Command Type Internal Purpose Displays the version number of ROM-DOS in use. Allows revision of this version number. Syntax VER [ n.nn ] [/R] Remarks If a new version number is speciÞed, two digits after the decimal are required.
Chapter 5: ROM DOS Commands Command VERIFY Type Internal Purpose Display or modify the verify state. Syntax VERIFY [ON ≠ OFF] Remarks The VERIFY command will set the state to on or off. When VERIFY is on then each following disk write operation will be veriÞed. This is usually used when critical data is being written to disks.
PDT 3200 Technical Reference Guide Command Type Internal Purpose Display the volume label on a speciÞed disk. Syntax VOL [ d: ] Remarks If you do not specify a drive, then the default drive is assumed. VOL does not allow the setting of volume labels. Refer to the LABEL command for instructions on setting the volume labels.
Chapter 5: ROM DOS Commands Command XCOPY Type External Purpose The XCOPY command copies multiple Þles and optionally subdirectories from one disk to another. Syntax XCOPY [ source ] [ target ] [/ options ] Remarks The XCOPY command is used for copying multiple Þles and subdirectories, if they exist.
Page 150
PDT 3200 Technical Reference Guide C:\COMMAND.COM (Y/N)? If a Y is entered then the Þle is copied, otherwise, the Þle is not copied. The /S option causes XCOPY to copy Þles in subdirectories of the source directory. The /V option causes XCOPY to verify each write to the disk.
Chapter 5: ROM DOS Commands Command XDEL Type External Purpose The XDEL command deletes Þles and subdirectories including empty subdirectories. Syntax XDEL filespec [/ options ] Remarks The XDEL command allows the deletion of Þles and subdirectories in the same step.
Page 152
PDT 3200 Technical Reference Guide XDEL DIR1 /d To delete all of the Þles in the three directories and the directory headings at the same time, use the following command: XDEL DIR1 /s /d 5-100...
Page 155
Index INCLUDE ......5-59 INSTALL ......5-61 Italy .
Page 156
PDT 3200 Technical Reference Guide read only file ..... . 5-41 REM ......5-6, 5-78 XCOPY .
Page 157
WeÕd like to know what you think about this manual. Please take a moment to Þll out this questionnaire and fax this form to: (516) 738-3318, or mail to: Symbol Technologies, Inc. One Symbol Plaza M/S B-4 Holtsville, NY 11742-1300 Attn: Technical Publications Manager IMPORTANT: If you need product support, please call the appropriate customer support number provided.
Need help?
Do you have a question about the PDT 3200 and is the answer not in the manual?
Questions and answers