The text of a manual · part 12 of 20
Allegro DOS Owner's Manual: Chapter 4 MS-DOS Operating System, pages 95 to 100
Pages 95 to 100 of 166, from Allegro DOS Owner's Manual
The original document is the PDF (1.1 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 Juniper Systems Allegro-DOS
Page 95
* ATTRIB
Displays or changes file attributes.
+ BREAK
Sets or clears extended CTRL+C checking.
+ CHDIR
Changes the current directory.
+ CD
Short name for CHDIR command.
* CHKDSK
Checks a disk and displays a status report.
+ CLS
Clears the screen.
* COMMAND Starts a new instance of the MS-DOS command interpreter. + COMP
Compares the contents of two files or sets of files.
+ COPY
Copies one or more files to another location.
+ CTTY
Changes the terminal device used to control your system.
+ DATE
Displays or sets the date.
* DEBUG
Starts Debug, a program testing and editing tool.
DEFRAG
Reorganizes the files on a disk to optimize the disk.
+ DEL
Deletes one or more files.
* DELTREE
Deletes a directory and all the files and subdirectories in it.
+ DIR
Displays a list of files and sub-directories in a directory.
* DOSKEY
Edits command lines, recalls MS-DOS commands, and creates macros.
#
Creates and manages drives compressed by using DriveSpace.
DRVSPACE
* EDIT
Starts MS-DOS text Editor, which creates and changes ASCII files.
* EMM386
Enables or disables EMM386 expanded memory support.
+ ERASE
Deletes one or more files.
+ EXIT
Quits the COMMAND.COM program (command interpreter).
* FASTHELP
Provides summary Help information for MS-DOS commands.
* FASTOPEN
Decreases the amount of time needed to open frequently used files and directories.
* FC
Compares two files or sets of files, and displays the differences between them. Allegro DOS Owner’s Manual
95
Page 96
* FDISK
Configures a hard disk for use with MS-DOS.
* FIND
Searches for a text string in a file or files.
* FORMAT
Formats a disk for use with MS-DOS.
GRAPHICS
Loads a program that can print graphics.
* HELP
Provides complete, interactive Help information for MS-DOS commands.
* HIMEM.SYS
A device driver that controls programs and data in extended memory.
#
INTERLNK
Connects two computers via parallel or serial ports.
#
INTERSVR
Starts the Interlnk server.
* LABEL
Creates, changes, or deletes the volume label of a disk.
+ LOADHIGH
Loads a program into the upper memory area.
+ LH
Short name for LOADHIGH command.
+ MKDIR
Creates a directory.
+ MD
Short name for MKDIR command.
* MEM
Displays the amount of used and free memory in your system.
* MODE
Configures a system device.
* MORE
Displays output one screen at a time.
* MOVE
Moves one or more files. Also renames files and directories.
#
Provides detailed technical information about your computer.
MSD
+ PATH
Displays or sets a search path for executable files.
* POWER
Turns power management on and off.
Prints a text file while you are using other MS-DOS commands.
+ PROMPT
Changes the MS-DOS command prompt.
* QBASIC
Starts the MS-DOS QBasic programming environment.
+ RMDIR
Removes a directory.
+ RD
Short name for RMDIR command.
+ REN
Renames a file or files.
+ RENAME
Renames a file or files.
+ REPLACE
Replaces files.
96
Allegro DOS Owner’s Manual
Page 97
* SCANDISK
Checks a drive for errors and repairs any problems it finds.
+ SET
Displays, sets, or removes MS-DOS environment variables.
* SETVER
Sets the version number that MS-DOS reports to a program.
#
Installs file-sharing and locking capabilities on your hard disk.
SHARE
* SORT
Sorts input.
* SUBST
Associates a path with a drive letter.
* SYS
Copies MS-DOS system files and command interpreter to a disk you specify.
+ TIME
Displays or sets the system time.
* TREE
Graphically displays the directory structure of a drive or path.
+ TYPE
Displays the contents of a text file.
* UNDELETE
Restores files previously deleted with the DEL command.
#
UNFORMAT Restores a disk erased by the FORMAT command.
+ VER
Displays the MS-DOS version.
+ VERIFY
Directs MS-DOS to verify that your files are written correctly to a disk.
+ VOL
Displays a disk volume label and serial number.
* XCOPY
Copies files (except hidden and system files) and directory trees.
Allegro DOS Owner’s Manual
97
Page 98
Make Space Utility Program MKSPACE.BAT is a batch program that removes DOS utility programs that are not commonly used from the DOS directory on the C: drive of the Allegro. This utility frees up approximately 1 M of space on the C: drive. MKSPACE.BAT is located on the Allegro in C:\DOS. Below is a list of the utility programs that are removed when the MKSPACE.BAT program is run. debug.exe deltree.exe edit.com edit.hlp fc.exe find.exe help.com help.hlp label.exe more.com move.exe qbasic.hlp qbasic.ini qbasic.exe scandisk.exe scandisk.ini setver.exe sort.exe subst.exe tree.com
When you run the MKSPACE program, the following messages are shown on the Allegro screen: This program will delete DOS commands (910K) from Drive C:\ that are not commonly used! DOS commands can be added to the drive from the Allegro Utilities CD-ROM when or if desired. Remove DOS Commands? If your response is yes, the following message is shown: DOS Commands Removed. If your response is no or you do not respond within 10 seconds, the following message is shown: Either No was selected or 10 sec without action. No DOS Commands were removed!
98
Allegro DOS Owner’s Manual
Page 99
Serial Printing Utility Program SERPRN.EXE is a DOS utility program that allows you to set up an Allegro serial communication port to send output to a printer. If a program is designed to use a parallel printer port, SERPRN redirects the parallel port settings to a serial port. It also sets the communication parameters and software and hardware handshaking. This program can be used in place of the Mode command. Like the Mode command, you can call SERPRN from the AUTOEXEC.BAT file so printing is automatically set up. The parameters you can specify when executing this program are listed below. COM1 COM port to be used (COM1 or COM2) 9600 Baud rate (1200, 2400, 4800, 9600, 19200, 38400, 56800, 115200) n Parity (n - none, e - even, o - odd, m - mark, s - space) 8 Number of data bits (7 or 8) 1 Number of stops bits (1 or 2) x Enables XON/XOFF handshaking c Enables CTS hardware handshaking d Enables DSR hardware handshaking q Enables quiet mode z Disables the redirection of the COM port ? Displays help t Sets time out (number between 1 - 15) To execute this program, type the command followed by your parameter choices. The syntax and the default settings (no handshaking) are shown below: Serprn com1 9600 n 8 1 x A space must separate each parameter. The first parameter is always the COM port followed by the communication parameters (these can be entered in any order). The hardware and software handshaking can be used separately or together. Normally, only one handshaking method is used at a time. Generally, an output list is shown after SERPRN is invoked informing you how the utility has set the communication port. You can disable the output listing with the quiet mode parameter (q). Allegro DOS Owner’s Manual
99
Page 100
Example uses of SERPRN are shown below. Syntax Serprn com1 9600 n 8 1 x t10 Output HM/JS Parallel to Serial Redirector COM1 9600 n 8 1 LPT1 redirected to COM1 Handshaking XON If the program is called with only the COM port specified, the program default settings are used. Syntax Serprn com1 Output HM/JS Parallel to Serial Redirector COM1 9600 n 8 1 LPT1 redirected to COM1 No Handshaking If the program is called without any command line parameters, a status report is shown listing the settings that are currently in use for the serial port. Syntax Serprn Output HM/JS Parallel to Serial Redirector COM1 9600 n 8 1 LPT1 redirected to COM1 Handshaking XON CTS DSR If the program is called with the ? parameter in the command line, it returns a list of the available command line parameters.
100
Allegro DOS Owner’s Manual