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 14 of 19

Falcon DOS Portable Data Terminals Advanced User's Guide, pages 131 to 140

Pages 131 to 140 of 184

The original document is the PDF (10 MB). 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 Datalogic F330 and PSC F330

Page 131

advuser.book Page 3 Friday, September 27, 2002 4:22 PM

Command Overview Command

Description

ERASE

Same as DEL. Erases specified files.

EXIT

Exits “nested” running of ROM-DOS within another program.

FCBS

A config.sys command. Specifies the number of file control blocks (FCBS) open at one time.

FILES

A config.sys command. Sets the maximum number of files that can be open at one time on the system.

FIND

Works as a filter to display only lines that contain a specified string.

FOR

Batch subcommand. Performs one DOS command on a set of files.

GOTO

Batch subcommand. Moves control to a specified line in the batch file.

HELP

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

IF

Batch subcommand. Performs a command based on a specified condition.

INCLUDE

A config.sys command. Allows instructions in one configuration block to be included with instructions in another configuration block.

INSTALL

Loads terminate-and-stay resident (TSR) programs during config.sys processing.

LASTDRIVE Sets the maximum number of drives. MENUDEFA Sets the default menu item choice and time-out value for making a selection. ULT MENUITEM

Specifies 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 file.

PATH

Displays current command search path(s). A new path line can be specified.

PAUSE

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

PRINT

Prints a list of files, up to ten files.

PROMPT

Resets the appearance of the system prompt line.

REM

REMark. A batch subcommand for identifying nonexecuting lines.

REN

REName. Renames files.

RMDIR

ReMove DIRectory (also RM). Deletes a specified subdirectory.

SET

Sets environment variables and command processor strings.

SHARE

Installs the capabilities for file sharing and file locking on the hard disk.

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.”

Advanced User’s Guide

B-3

Page 132

advuser.book Page 4 Friday, September 27, 2002 4:22 PM

Command

Description

SORT

Sorts a text file and displays the output to the standard device.

STACKS

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

SUBMENU Defines a menu item that represents a secondary menu. SWITCHES Allows special config.sys file options. TIME

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

TREE

Displays the path of each directory on a specified drive.

TYPE

Displays the contents of a text file 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 files and, optionally, subdirectories.

ROM-DOS vs. MS-DOS Table B-2 identifies differences between ROM-DOS commands and their MSDOS equivalents. For more information, see the individual command descriptions in the next section.

Table B-2: Difference Between ROM-DOS and MS-DOS Commands Command

ATTRIB

Features Exclusive to ROM-DOS

-C: Clears all file attributes /S: Processes files in all subdirectories

BUFFERS

CHKDSK

Features Exclusive to MS-DOS

Allows designation of secondary buffer cache BUFFERS n,m where m is secondary buffer cache /C: Corrects errors without user confirmation COMMAND

/Y: Steps through batch file specified by /C or /K switch Internal command help only help.hlp in MS-DOS includes all commands

(external and internal), installable drivers, etc.

B-4

Falcon® DOS Portable Terminals

Page 133

advuser.book Page 5 Friday, September 27, 2002 4:22 PM

Command Descriptions

Command

DIR

Features Exclusive to ROM-DOS

/A X: Shows attributes

Features Exclusive to MS-DOS /O:C and /O:-C: Sorts by compression ratio /C[H]: Displays compression ratio of files compressed using Drivespace or Doublespace FCBS

, [minimum number]

FIND

/I: Not case-sensitive

HELP

Requires command.hlp

MS-DOS requires external file, help.com, but provides more help text

NEWFILE

ALL

Not available with MS-DOS

PRINT

/F: Sets maximum number /D:LPTx (Falcon has no parallel port.) of files /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

/Y /-Y: Turns confirmation prompts on or off

Command Descriptions This section provides descriptions of the ROM-DOS commands listed in Table . 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

Advanced User’s Guide

B-5

Page 134

advuser.book Page 6 Friday, September 27, 2002 4:22 PM are independent from command.com. Internal commands that are unique to config.sys processing are also identified. These commands can be used only in a config.sys file.

ATTRIB Type External Purpose The ATTRIB command either displays or modifies the attribute of a file. Syntax ATTRIB [+ ¦ -][option][filespec] Remarks The file attributes define the characteristics of a file. They determine if a file may be deleted or modified, or if it is archived. The ATTRIB command is used to manage these file attributes. Wildcard characters may be used in the ATTRIB filespec. The ATTRIB command will modify file attributes if modify commands are given to ATTRIB. The modify commands are: Command

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 files are displayed along with the file names and their current attributes. Examples ATTRIB will add the read-only attribute to the file myfile.dat. ATTRIB +r myfile.dat

ATTRIB will remove the read-only attribute and the archive attribute of all files with the DAT extension. ATTRIB -a -r *.dat

B-6

Falcon® DOS Portable Terminals

Page 135

advuser.book Page 7 Friday, September 27, 2002 4:22 PM

Command Descriptions

ATTRIB will display the attributes of all files with the DAT extension. ATTRIB *.dat

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. 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

CHKDSK Type External Purpose The CHKDSK command checks the disk directories and File Allocation Table (FAT) and displays a disk and memory report. Syntax CHKDSK [filespec][/C] [/F] [/V] Remarks CHKDSK examines a disk and determines if the disk has any errors in the File Allocation Table (FAT) and will optionally fix errors.

Advanced User’s Guide

B-7

Page 136

advuser.book Page 8 Friday, September 27, 2002 4:22 PM

Options The /F option causes CHKDSK to fix errors on the disk if any were found. The errors that can be found are directory or FAT errors. If the /F is not specified then CHKDSK acts as if it will fix the disk, but the corrections will not be written out to the disk. If errors are detected, a prompt will appear with a message similar to the following: 15 lost allocation units found in 5 chains. Convert lost chains to files?

Type Y for Yes, and each lost chain will be written to a file in the root directory of the current default drive. Each file will have the name filennnn.chk. nnnn will be a sequential number. The first chain will be in file000.chk. These files can be verified to see if they contain valuable information, and then deleted if desired. 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 confirmation. This option must be used along with the /F option for corrections to be made. The /V option causes CHKDSK to display each path and file as it is processed. If a file specification is specified, then CHKDSK displays all files matching the specification that have noncontiguous data areas on the disk. Files that are stored in noncontiguous areas, especially .exe files, have slower disk access times. If CHKDSK reports a large number of files with this problem, a utility program that optimizes the files and free space on the disk should be used. After checking the disk, CHKDSK displays any error messages followed by a report on the state of the disk that was checked. An example of the report is shown below. Volume ROM-DOS created June 1,1990 1:00a Volume Serial Number is 190E-4AA2 362496 bytes total disk space 0 bytes in 1 hidden files 6144 bytes in 2 user files 356352 bytes available on disk 655360 bytes total memory 595360 bytes free

B-8

Falcon® DOS Portable Terminals

Page 137

advuser.book Page 9 Friday, September 27, 2002 4:22 PM

Command Descriptions

CHKDSK does not wait for a disk to be inserted before the checking is initiated nor does it repair any errors. Examples CHKDSK will check the integrity of drive A. The report will be printed to the console. CHKDSK a:

CHKDSK will check the integrity of RAM disk D. The report will be saved in a file called drive_d.rpt. CHKDSK d: >drive_d.rpt

COMMAND 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. Starting a new command processor will also produce a new environment. The size of the environment is 128 bytes by default, but it can be changed using the /E switch. Command and its arguments can also be used in a SHELL= statement in the config.sys file. See the full description of SHELL for more details. Options The device option specifies that command.com should use a different device, such as AUX, for input and output. The /E:number switch sets the environment size. Number represents the size of the environment in bytes. Number must be in the range from 160 to 32768. All other values will be ignored and the default value of 256 will be used. ROM-DOS will round the value entered up to the nearest multiple of 16.

Advanced User’s Guide

B-9

Page 138

advuser.book Page 10 Friday, September 27, 2002 4:22 PM

The /K:filename option tells the command processor to run the specified filename and then display the ROM-DOS command prompt. It is not recommended that this option be used in a CONFIG.SYS SHELL= statement. The /P switch causes COMMAND not to exit, or in other words, to remain permanent. The /P switch should be used only when command is used in a CONFIG.SYS SHELL statement. The /c string switch causes COMMAND to execute the command in string and then terminate. The string command can be any internal or external command. The /MSG option indicates that all error messages should be stored in memory. This option is recommended only for diskette based systems. ROM-DOS keeps 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 ROM-DOS has been loaded from a diskette, the message will only be available if the boot disk is still in the drive. By using the /MSG option, the messages will be available in memory at all times. The /P option must be used along with the /MSG option. Examples The following command will cause a new copy of COMMAND to be executed. It will perform a DIR command on the C drive and then exit back to the previous Command Processor. COMMAND /C DIR C:

The following example shows loading of a permanent copy of command with an environment size of 256 bytes. SHELL=C:\COMMAND.COM /P /E:256

DELTREE Type External Purpose The DELTREE command deletes files and subdirectories including empty subdirectories.

B-10

Falcon® DOS Portable Terminals

Page 139

advuser.book Page 11 Friday, September 27, 2002 4:22 PM

Command Descriptions

Syntax DELTREE [/Y] [filespec] [[filespec][...]] Remarks The DELTREE command allows the deletion of files and subdirectories in the same step. The filespec argument(s) indicate the name(s) of the file(s) or directory tree(s) to delete, Wildcards are allowed. Options The /Y switch prevents DELTREE from prompting before deleting. Examples The following DELTREE command deletes all files and directories in the tree C:\TEMP: DELTREE C:\TEMP

Use DELTREE to delete individual files, one at a time, using wildcards. To delete selected files in the current directory, enter: DELTREE *.* DELTREE then prompts for each file it finds which allows the choice of individually deleting them.

Advanced User’s Guide

B-11

Page 140

advuser.book Page 12 Friday, September 27, 2002 4:22 PM

DIR Type Internal Purpose Displays a list of the files that are in a directory. Syntax DIR [filespec][/option] Remarks The DIR command can be used to list all the files in a directory, or to show the directory entries of specific files. The standard directory display format includes columns for filenames, filename extensions, file sizes, and the dates and times the files were created. Options /A attributes The /A option causes the DIR command to display only the files that match the specified filespec and have the given attribute. The table below shows the legal attribute descriptions. Letter

Description

A

Archive

D

Directories

H

Hidden files

R

Read-only files

S

System files

X

Show attributes

-

The dash (-) symbol can be used to negate listed attributes. For example, to select all files that do not have the archive bit set, use the /A -A option. /B

The /B, or bare, option causes the display to be displayed without volume label, date, time, or size information. /L

The /L option causes the filenames to be displayed in lowercase. /P

The /P option selects page mode, which makes ROM-DOS pause the display each time the screen is full. Press any key to go on to the next page of entries. B-12

Falcon® DOS Portable Terminals