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 9 of 16

PDT 3200 Technical Reference Guide: Chapter 5 ROM-DOS Commands, pages 83 to 92

Pages 83 to 92 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 83

Chapter 5: ROM DOS Commands

Command Type Purpose

COUNTRY CONFIG.SYS

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. If you do not specify a code page, ROM-DOS will use the default code page for the chosen country. If a code page is speciÞed, it must be either the default or alternate code page for the chosen country. The ROM-DOS DATE and TIME commands are affected by this command. Applications that use DOS functions to determine the date, time, or currency format, or request that DOS provide character sort order, or uppercase information, will be affected as well.

5-31

Page 84

PDT 3200 Technical Reference Guide

The following table shows the currently supported countries: Country

Code

Code Page

Alternative Code Page

Australia

061

437

850

Belgium

032

850

437

Brazil

055

850

437

Canadian-French

002

863

850

Czech Republic

042

852

850

Denmark

045

850

437

Finland

358

850

437

France

033

850

437

Germany

049

850

437

Hungary

036

852

850

Italy

039

850

437

Japan

081

932

---

Latin America

003

850

437

Netherlands

031

850

437

Norway

047

850

865

Poland

048

852

850

Portugal

351

850

860

Spain

034

850

437

Sweden

046

437

850

Switzerland

041

850

437

United Kingdom

044

437

850

United States

001

437

850

Yugoslavia

038

852

850

For more information on COUNTRY, see the section on ConÞguring ROM-DOS for International Use. The default country code is 001, for the U.S.A.

5-32

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:

The Þrst COUNTRY command above would use code page 850, by default, for sorting and case conversion. The second COUNTRY command example would use the speciÞed code page 437 instead.

5-33

Page 86

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.

Caution The CTTY command only affects communication with ROMDOS and with programs that work through ROM-DOS for input and output. For example, if you go into BASIC it will use standard keypad input regardless of previous CTTY command usage.

Examples CTTY COM2

Sets the device on COM2 as the input/output device. CTTY CON

Returns control to the standard keypad.

5-34

Page 87

Chapter 5: ROM DOS Commands

Command Type Purpose

DATE Internal

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. This information is displayed when you execute a directory listing of your Þles. You may want to include the DATE command in your AUTOEXEC.BAT Þle, to set the date at boot-up. If your computer has an internal battery-operated clock, you won't need to do so. The format of the date command is also dependent on the Country speciÞed in CONFIG.SYS. The date is displayed according to local standards for the speciÞed country. Also see the TIME command.

Examples If the command is entered without the speciÞcation of mm-dd-yy, the current date as known to ROM-DOS will be displayed and you will be prompted to enter a new date. Like this: Current date is Sat 6-10-1989 Enter new date (mm-dd-yy):

If you do not want to change the date, just press enter. Otherwise, key in the current date and press enter. Alternatively, you may skip the display and prompting by simply entering the current date on the command line. To enter June 10, 1997, type the DATE command as follows (the century number 19 is assumed):

5-35

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. The earliest year that ROM-DOS can accept is 1980. ROM-DOS assumes that the century is 19 unless something different is entered, such as 20, next to the year. For example, February 18, 2014 would be: DATE 02-18-2014

ROM-DOS will adopt your entry as the current date.

5-36

Page 89

Chapter 5: ROM DOS Commands

Command Type Purpose

DEL (DELete) Internal

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. Global Þlename characters ? and * (wildcards) can be used in the Þlespec. This should be done with caution as it is possible to delete multiple Þles unintentionally. When the Þlespec *.* is used to delete all Þles in the speciÞed subdirectory, a veriÞcation message will be displayed: Are you sure (Y/N) ?

Type Y only if you want all Þles in the speciÞed subdirectory to be deleted.

Caution There is no ROM-DOS command to ÒundeleteÓ a Þle. Although utilities exist which can attempt an undelete, certain factors can cause the deleted Þle to be partially or totally lost. The DEL command should be treated as a permanent delete. DEL deletes Þles within a subdirectory, not the subdirectory itself. For subdirectory removal, see the RMDIR command.

5-37

Page 90

PDT 3200 Technical Reference Guide

Options /P 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. Before each Þle is deleted the user is prompted to determine if that Þle should be deleted. DEL A:*.DOC /P

Deletes the Þle MYLETTER.DOC from the current default subdirectory. DEL MYLETTER.DOC

Deletes all Þles in the current subdirectory with a .DOC Þle extension. DEL *.DOC

5-38

Page 91

Chapter 5: ROM DOS Commands

Command Type Purpose

DEVICE CONFIG.SYS

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. The full drive path and Þle name of the device must be speciÞed. The arguments are different depending on the device driver.

Examples DEVICE=C\BIN\VDISK.SYS 120 /e

This example installs the ROM-DOS RAM disk driver, VDISK.SYS, via the DEVICE command. There will be 120K bytes of extended memory dedicated to the RAM disk in this example.

5-39

Page 92

PDT 3200 Technical Reference Guide

Command Type

DEVICEHIGH

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. A device can be loaded into the upper memory areas if they are available and there is enough free upper memory to accommodate the drivers needs. To make high memory available, the EMM386.EXE and HIMEM.SYS utilities must be loaded. If these utilities are not loaded or there is not enough upper memory available, the device will load into conventional memory. The full drive path and Þle name of the device must be speciÞed. The arguments are different depending on the device driver.

Example The following example installs a driver called MYDEVICE with its command line arguments as speciÞed. The device will load into upper memory if available. DEVICEHIGH=C:\BIN\MYDEVICE.SYS /20 /M

5-40