The text of a manual · part 15 of 16
PDT 3200 Technical Reference Guide: Chapter 5 ROM-DOS Commands, pages 143 to 152
Pages 143 to 152 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 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. When entering time, however, you needn't enter seconds or hundredths; ROM-DOS will assume a value of zero if they are not speciÞed. You may skip the display and prompting by simply typing the current time after the word TIME on the command line: TIME 23:24
ROM-DOS will accept your entry as the current time.
Examples To enter the time 11:15 pm, you can type: TIME 23:15 or TIME 11:15 p
To enter the time as 9:26 am, you can type: TIME 9:26 or TIME 9:26 am
5-91
Page 144
PDT 3200 Technical Reference Guide
Command Type Purpose
TREE External
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. The d: speciÞes the drive that TREE will display the subdirectories from. This argument must be speciÞed.
Options The /F switch causes TREE to display the Þles in each subdirectory.
Examples This command will display all subdirectories on drive C. C:\DATA> TREE C:
This command will display all subdirectories on drive A: along with the Þles within each sub directory. C:\DATA> TREE A: /F
5-92
Page 145
Chapter 5: ROM DOS Commands
Command Type Purpose
TYPE Internal
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. This will not harm the system.
Examples To display the AUTOEXEC.BAT Þle on drive A, enter: TYPE A:AUTOEXEC.BAT
5-93
Page 146
PDT 3200 Technical Reference Guide
Command Type Purpose
VER Internal
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. Note that this command revises only the record of the DOS version number; it does not change the actual operating system loaded in the computer. The version command shows both the version of the VER command itself and the version of DOS in operation.
Options The /R option shows the full version and release number of ROM-DOS.
Example The following example changes the record of current DOS version in use to DOS 5.0. Any programs that are executed, following this command, will recognize that DOS 5.0 is running. VER 5.0
5-94
Page 147
Chapter 5: ROM DOS Commands
Command Type Purpose
VERIFY Internal
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. If VERIFY is on, then each disk write operation will take longer. Due to this extra time for disk operations, most users leave VERIFY off during normal operations.
Examples VERIFY
The above example will display the verify state. VERIFY ON
This example will set the verify state to on, causing ROM-DOS to verify each following write to a disk.
5-95
Page 148
PDT 3200 Technical Reference Guide
Command Type Purpose
VOL Internal
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.
Examples A>VOL
The above will cause ROM-DOS to display the volume label on the default drive which is the A: drive. A>VOL C:
The above will cause ROM-DOS to display the volume label on the C: drive.
5-96
Page 149
Chapter 5: ROM DOS Commands
Command Type Purpose
XCOPY External
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. The source and the target parameter are complete drive path and Þle speciÞcation descriptions. If you do not specify a path, XCOPY assumes the default path. If a Þle name is not speciÞed then *.* is assumed. The ATTRIB command may be used to modify the archive bit for the various XCOPY options that check the archive status of Þles. Refer to the ATTRIB command description for instructions.
Options The /A copies only source Þles that have the archive bit set in them. The archive is not reset. The /D<mm-dd-yy> option causes XCOPY to copy only those Þles with a date later than the date speciÞed in the /D option. The /E option causes XCOPY to create subdirectories on the target even if they are empty. The /M option causes XCOPY to copy only those source Þles that have the archive bit set. Once the source Þle is copied the archive bit is reset. The /P option causes XCOPY to prompt before each Þle is copied. The prompt appears as follows:
5-97
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. The /W option causes XCOPY to wait before starting to copy Þles. The following prompt is displayed. Press any key to begin copying file(s)
Example XCOPY to the A: drive all Þles in the BIN subdirectory that have an EXE extension and that have the archive bit set. XCOPY \bin\*.exe a: /a
5-98
Page 151
Chapter 5: ROM DOS Commands
Command Type Purpose
XDEL External
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. The filespec argument is the starting point for the deletion. The filespec argument can contain the drive and path for reaching the starting point and can also contain wild card characters to designate a group of Þle or directory names.
Options The /D option deletes empty subdirectories. Deletion will not occur if there are any Þles in the subdirectory, unless the /S option is speciÞed along with the /D option. The /P option gives you a conÞrmation prompt before deleting each Þle. The /R option allows deletion of read-only Þles without having to change the Þle attributes prior to the delete. The /S option deletes Þles in subdirectories located below the speciÞed starting directory. When used along with the /D option, it will delete the Þles within a subdirectory along with the subdirectory entry itself.
Examples The following examples will all use the diagram below as a reference: The following XDEL command would delete all of the Þles in the directories DIR1, SUB1, and SUB2 but not the directory headings themselves. XDEL DIR1 /s
To delete the empty subdirectory heading for SUB3, use XDEL as follows: 5-99
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