home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-01-24 | 48.2 KB | 1,322 lines |
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- 6.1 DOS Primer
-
- A detailed description of DOS or its function would be a
- long and lengthy undertaking. So, in order to make this
- text as brief and meaningful as possible, each individual
- DOS command will be touched upon as it pertains to the
- SYSTEM MASTER command Processor. (See the DOS Manual for
- your particular version of DOS for detailed descriptions
- of each of the following commands).
-
-
- DOS Commands (Listing)(DOS ver 3.3 specific)
-
- APPEND
- ASSIGN LABEL
- ATTRIB MKDIR/MD *
- BACKUP MODE
- BREAK * MORE
- CHCP * PATH *
- CHDIR/CD * PRINT
- CHKDSK PROMPT *
- CLS * RECOVER
- COMMAND RENAME *
- COMP REPLACE
- COPY * RESTORE
- CTTY * RMDIR/RD *
- DATE * SELECT
- DEL * SET *
- DIR * SHARE
- DISKCOMP SORT
- DISKCOPY SUBST
- ERASE * SYS
- FASTOPEN TIME *
- FIND TREE
- FORMAT TYPE *
- GRAFTABL VER *
- GRAPHICS VERIFY *
- JOIN VOL *
- KEYB XCOPY
-
-
- All DOS commands may be executed with the SYSTEM MASTER
- shell using batch conventions. All DOS commands, above,
- flagged with an '*' must be run with a 'D' parameter when
- processing DOS commands with SYSTEM MASTER in Resident
- Mode. All other DOS commands would use the 'N' parameter.
- (see the SYSTEM MASTER '[R]' command explanation in sub-
- section 4 of this chapter).
-
- All Examples below assume that the DOS command resides in
- the current DOS search path.
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 1
-
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- 6.2 DOS Command Descriptions
-
- 6.2.1 APPEND
-
- We DO NOT RECOMMEND using the APPEND command with
- SYSTEM MASTER. This command causes SYSTEM MASTER
- to operate eradically, and may cause your system
- to lock.
-
- 6.2.2 ASSIGN
-
- The ASSIGN command allows you to reassign
- disk drive identification letters. This tells
- DOS that any I/O requests targeted for a
- specified drive should be carried out on
- an ASSIGNed drive.
-
- Format: [d:path]ASSIGN [x[=]y[...]]
-
- Exampl: {{ Reassign a Disk Drive Spec }}
-
- [W]
- [!]
- [?] S Enter Drive to be Reassigned:
- [!]
- [?] S Enter New Drive Specification:
- ASSIGN %1=%2
- [L] C
-
- Tells DOS that all I/O requests
- targeted for the innitial drive spec
- are to be sent to the assigned drive
- spec. (i.e. requests for A: sent to C:)
-
- Exampl: {{ Reset Previous Drive Assignments }}
-
- ASSIGN
- [L] C
-
- Tells DOS to reset all drives to
- their respective original identifi-
- cations.
-
- 6.2.3 ATTRIB
-
- The ATTRIB command modifies disk file attributes
- for a single file, for selected files
- within a directory or for all files within a
- directory level.
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 2
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Format: [d:path]ATTRIB [+R|-R][+A|-A][d:][path]
- filename[.ext][/S]
-
- Exampl: {{ Make File Read-Only }}
-
- [W]
- [!] 3
- [?] S Enter File to Protect:
- ATTRIB +R %1
- [L] C
-
- Sets the Read-Only attribute of a file to +.
-
- Exampl: {{ Make File Read/Write }}
-
- [W]
- [!] 3
- [?] S Enter File to Unprotect:
- ATTRIB -R %1
- [L] C
-
- Sets the Read-Only attribute of a file to -.
-
- Exampl: {{ Clear File Archive Attribute }}
-
- [W]
- [!] 3
- [?] S Enter File to Clear Archive Bit:
- ATTRIB -A %1
- [L] C
-
- Clears the Archive attribute bit.
-
- Exampl: {{ Clear All Files Archive Attribute }}
-
- [W]
- [!] 3
- [?] S Enter Drive/Path for Files:
- ATTRIB -A %1\*.*
- [L] C
-
- Clears the Archive attribute bit for ALL
- files in the specified drive/path.
-
- 6.2.4 BACKUP
-
- The BACKUP command backs up one or more files
- from one disk (usually a hard disk) to another
- (usually a floppy disk). The disks cannot carry
- the same drive identifier.
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 3
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Format: [d:path]BACKUP d:[path][filename[.ext]]
- d: [/S][/M][/A][/D:mm-dd-yy]
- [/T:hh:mm:ss][/F][/L[:[d:][path]
- filename[.ext]]]
-
- Exampl: {{ Backup Specified Files }}
-
- [W]
- [!]
- [?] S Enter Drive/Path to Backup
- [!]
- [?] S Enter Drive/Path for Backup
- BACKUP %1 %2
- [L] C
-
- Backs up ALL files in the %1 Drive/Path
- to the %2 Drive/Path.
-
- Exampl: {{ Backup ALL Files on Drive/Path, including
- Sub-directories }}
-
- [W]
- [!]
- [?] S Enter Drive/Path to Backup
- [!]
- [?] S Enter Drive/Path for Backup
- BACKUP %1 %2 /S
- [L] C
-
- Backs up ALL files on drive/path %1 includ-
- ing all sub-directories to drive/path %2.
-
- Exampl: {{ Backup files modified since last
- backup to existing backup }}
-
- [W]
- [!]
- [?] S Enter Drive/Path to Backup
- [!]
- [?] S Enter Drive/Path for Backup
- BACKUP %1 %2 /M
- [L] C
-
- Backs up ALL files on drive/path %1 that have
- been modified since last backup, to drive/path %2.
-
- Exampl: {{ Backup Specified files }}
-
- [W]
- [!]
- [?] S Enter FileSpec for Backup Files
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 4
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- [!]
- [?] S Enter Drive/Path for Backup
- BACKUP %1 %2 /A
- [L] C
-
- Backs-up ALL files matching the %1
- file specification and adds them
- to an existing backup on drive/path %2.
-
- 6.2.5 BREAK
-
- The BREAK command instructs DOS as to whether
- or not to monitor the Ctrl-Break escape sequence
- during specified system operations.
-
- Exampl: {{ CTRL-Break Monitoring ON }}
-
- BREAK ON
- [L] C
-
- Tells DOS to check for Ctrl-Break
- whenever it is requested.
-
- Exampl: {{ CTRL-Break Monitoring OFF }}
-
- BREAK OFF
- [L] C
-
- Tells DOS to check for Ctrl-Break only
- during standard I/O and standard device
- operations.
-
- Exampl: {{ Display Break Status }}
-
- BREAK
- PAUSE
- [L] C
-
- Displays the current status of BREAK
-
- 6.2.6 CHCP
-
- The CHCP command selects the 'Code Page' that
- DOS will use and selects that 'Code Page' for
- all devices possible.
-
- Format: CHCP [nnn]
-
- Exampl: CHCP
- PAUSE
- [L] C
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 5
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Displays the current code page.
-
- 6.2.7 CHDIR/CD
-
- The CHDIR/CD command changes the logged
- directory to one specified as a command
- parameter.
-
- Format: CD [d:][path]
- Format: CD[\|..]
-
- Exampl: {{ Menu Option Def }}
-
- .
- .
- .
- cd %1
- .
- .
- .
-
- Changes the current directory to %1
- during command file processing.
-
- 6.2.8 CHKDSK
-
- The CHKDSK command analyzes the file allocation
- table (FAT), directories and files of a specific
- disk drive, then issues a report as to the
- status of the device/files.
-
- Format: [d:][path]CHKDSK [d:][path]
- [filename[.ext]][/F][/V]
-
- Exampl: {{ Perform Check Disk }}
-
- [W]
- [!] 3
- [?] S Specify Drive to Check:
- CHKDSK %1
- PAUSE
- [L] C
-
- Performs a drive/file check of the
- specified drive %1.
-
- Exampl: {{ Perform Check Disk w/ Fix }}
-
- [W]
- [!] 3
- [?] S Specify Drive to Check:
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 6
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- CHKDSK %1 /F
- PAUSE
- [L] C
-
- Performs a drive/file check of the
- specified drive %1. If errors are
- detected you have the option to
- fix these errors.
-
- Exampl: {{ Perform Check Disk w/ View }}
-
- [W]
- [!] 3
- [?] S Specify Drive to Check:
- CHKDSK %1 /V
- PAUSE
- [L] C
-
- Performs a drive/file check of the
- Specified drive %1, and displays
- all files and their directories on
- the standard output device (CRT,PRN...)
-
- Exampl: {{ Check Disk - File Status }}
-
- [W]
- [!]
- [?] S Specify Drive to Check:
- [!]
- [?] S Enter Path/File(s) to Check:
- CHKDSK %1\%2
- PAUSE
- [L] C
-
- CHKDSK displays the number of non-
- contiguous areas occupied by disk file(s)
- %2.
-
- 6.2.9 CLS
-
- The CLS command performs a clear screen
- operation and places the cursor on line 2 of the
- display.
-
- Format: CLS
-
- Exampl: .
- .
- CLS
- .
- .
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 7
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Clears the current CRT display.
-
- 6.2.10 COMMAND
-
- The COMMAND command starts a secondary command
- processor. This command should only be run by an
- experienced user. Detrimental effects can be
- caused by using this command improperly.
-
- 6.2.11 COMP
-
- The COMP command compares the contents of a
- group of specified files to another group
- of specified files.
-
- Format: [d:][path]COMP [d:][path][filename[.ext]]
- [d:][path][filename[.ext]]
-
- Exampl: {{ Compare 2 sets of files and report }}
-
- [W]
- [!]
- [?] S Enter FileSpec 1 for Comparison
- [!]
- [?] S Enter FileSpec 2 for Comparison
- [!]
- [?] S Enter File for Report
- COMP %1 %2>%3
- [L] C
-
- Compares %1 files to %2 files and pipes
- output to file %3.
-
- 6.2.12 COPY
-
- The COPY command copies one or more files to
- a specified drive and/or path and/or filename.
-
- Format: COPY [/A][/B][d:][path]filespec[.ext][[/A][/B]
- [+[d:][path]filespec[.ext]][/A][/B]...]
- [d:][path][filespec.ext][/A][/B][/V]
-
- Exampl: {{ Copy a file to another file }}
-
- [W]
- [!]
- [?] S Enter File to Copy:
- [!]
- [?] S Enter Name of New File:
- COPY %1 %2
- [L] C
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 8
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Copies file %1 to file %2.
-
- Exampl: {{ Copy a file to a directory }}
-
- [W]
- [!]
- [?] S Enter File to Copy:
- [!]
- [?] S Specify Path for New File:
- COPY %1 %2
- [L] C
-
- Creates a duplicate of file %1 (including
- it's filespec) within the path %2.
-
- Exampl: {{ Copy a directory of files to another
- directory }}
-
- [W]
- [!]
- [?] S Enter Source Path:
- [!]
- [?] S Enter Target Path:
- COPY %1 %2
- [L] C
-
- Copies All files within path %1 into path %2.
- All filespecs are duplicated.
-
- Exampl: {{ Copy a file/file(s) from a specified
- drive/path to the current drive/path }}
-
- [W]
- [!] 3
- [?] S Enter FileSpec for Source Files:
- COPY %1
- [L] C
-
- Copies all files within path %1 into the
- currently logged directory.
-
- 6.2.13 CTTY
-
- The CTTY command changes the systems standard
- input/output device. This command can cause your
- system to behave eradically if it is used improperly.
-
- Format: CTTY device
-
-
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6- 9
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- 6.2.14 DATE
-
- The DATE command displays/changes the system date.
-
- Format: DATE [mm-dd-[yy]yy]|[dd-mm-[yy]yy]|[[yy]yy]-mm-dd]
-
- Exampl: {{ Set System Date }}
-
- [W]
- [!] 3
- [?] N Enter the Current Day (1-31):
- [?] N Enter the Current Month (1-12):
- [?] N Enter the Current Year (80-99):
- DATE %2-%1-19%3
- [L] C
-
- Sets the System date.
-
- 6.2.15 DEL
-
- The DEL command allows you to delete disk files.
-
- Format: DEL [d:][path]filespec[.ext]
-
- Exampl: {{ Delete a Disk File }}
-
- [W]
- [!] 3
- [?] S Enter File to Delete:
- DEL %1
- [L] C
-
- Deletes disk file %1.
-
- Exampl: {{ Delete All Files in Path }}
-
- [W]
- [!] 3
- [?] S Enter Name of Path to Clear
- DEL %1\*.*
- [L] C
-
- Deletes ALL files in path %1.
-
- 6.2.16 DIR
-
- The DIR command allows you to view a list of
- disk files.
-
- Format: DIR [d:][path][filespec[.ext]][/P][/W]
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-10
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Exampl: {{ List Specified Files }}
-
- [W]
- [!] 3
- [?] S Enter FileSpec for File Listing:
- DIR %1
- PAUSE
- [L] C
-
- Displays a List of Specified File Names.
-
- Exampl: {{ List Specified Files - Paged Format }}
-
- [W]
- [!] 3
- [?] S Enter FileSpec for File Listing:
- DIR %1/P
- PAUSE
- [L] C
-
- Displays a List of Specified File Names 1
- screen page at a time.
-
- Exampl: {{ List Specified Files - Wide Format }}
-
- [W]
- [!] 3
- [?] S Enter FileSpec for File Listing:
- DIR %1/W
- PAUSE
- [L] C
-
- Displays a List of Specified File Names
- using the wide format.
-
- Exampl: {{ List Specified Files - Paged/Wide Format }}
-
- [W]
- [!] 3
- [?] S Enter FileSpec for File Listing:
- DIR %1 /W /P
- PAUSE
- [L] C
-
- Displays a List of Specified File Names using
- the wide format - 1 page at a time.
-
- 6.2.17 DISKCOMP
-
- The DISKCOMP command allows you to Compare the contents
- of two diskettes.
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-11
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Format: DISKCOMP [d:[d:]][/1][/8]
-
- Exampl: {{ Compare Diskettes in A: & B: }}
-
- DISKCOMP A: B:
-
- 6.2.18 DISKCOPY
-
- The DISKCOPY command allows you to Copy the contents
- of 1 diskette to another.
-
- Format: DISKCOPY [d:[d:]][/1]
-
- Exampl: {{ Copy a Diskette Using 1 Drive }}
-
- [W]
- [!] 3
- [?] S Enter Disk Drive Letter:
- DISKCOPY %1: %1:
- [L] C
-
- Makes a duplicate diskette in drive %1.
- Disk swapping will be prompted.
-
- Exampl: {{ Copy a Diskette Using 2 Drives }}
-
- [W]
- [!] 3
- [?] S Enter Source Disk Drive Letter:
- [!]
- [?] S Enter Target Disk Drive Letter:
- DISKCOPY %1: %2:
- [L] C
-
- Makes a duplicate diskette in drive %2
- of Diskette in Drive %1. Drive types must
-
- be similar.
-
- 6.2.19 ERASE
-
- The ERASE command allows you to Erase one or more specified
- files from a disk.
-
- This command is the same as the DEL command. Refer to the
- DEL command for detailed description.
-
- 6.2.20 FASTOPEN
-
- The FASTOPEN command stores in memory, the locations of
- directories and recently opened files for faster access
- on subsequent access attempts.
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-12
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Format: FASTOPEN d:[=nnn]...
-
- 6.2.21 FIND
-
- The FIND command allows you to search for occurrences
- of a specified string within a text file.
-
- Format: FIND [/V][/C][/N]"STRING" [[d:][path]
- filespec[.exe]...]
-
- Exampl: {{ Find a string in a specified file }}
-
- [W]
- [!]
- [?] S Enter String to be Located:
- [!]
- [?] S Enter File to Search:
- FIND %1 %2
- PAUSE
- [L] C
-
- Displays all occurrences of string %1 in
- file(s) %2.
-
- 6.2.22 FORMAT
-
- The FORMAT command prepares a disk for use in the
- DOS environment. You should NEVER format any drives
- other than diskette drives from within the SYSTEM
- MASTER shell.
-
- Format: FORMAT d:[/S][/1][/8][/V][/B][/4][/N:xx][/T:xx]
-
- Exampl: {{ Format a 720K diskette in HD Drive A }}
-
- FORMAT A: /N:9 /T:80
- [L] C
-
- Formats a 720K diskette in hi-density drive A:
-
- Exampl: {{ Format a 720K diskette in HD Drive A &
- Make it BOOTABLE }}
-
- FORMAT A: /N:9 /T:80 /S
- [L] C
-
- Formats a 720K diskette in hi-density drive A: &
- copies the System files onto it.
-
-
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-13
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- 6.2.23 GRAFTABL
-
- The GRAFTABL command loads a character table so ASCII
- characters over chr(127) can be displayed.
-
- Format: GRAFTABL [437|860|863|865|/STATUS]
-
- 6.2.24 GRAPHICS
-
- The GRAPHICS command allows you to print a graphics
- display on any compatible graphics printer.
-
- Format: GRAPHICS [printer type][/R][/B][/LCD]
-
- 6.2.25 JOIN
-
- The JOIN command logically moves a drive, and all of its
- files, into the specified sub-directory of another drive.
-
- Format: JOIN -or- JOIN d: d: \path 'or' JOIN d:/D
-
- Exampl: {{ Join a Drive with a Sub-Directory }}
-
- [W]
- [!]
- [?] S Enter Letter of Drive to move:
- [!]
- [?] S Enter Drive/Path for move:
- JOIN %1: %2
- [L] C
-
- Cause drive %1 and all of it's sub-directories
- to be logically accessed under the %2 directory.
-
- Exampl: {{ Cancel a Join }}
-
- [W]
- [!] 2
- [?] S Enter Drive Letter to UnJOIN:
- JOIN %1:/D
- [L] C
-
- Returns the environment to a state before the
- JOIN was first executed.
-
- 6.2.26 KEYBxx
-
- The KEYBxx command replaces the keyboard driver with a
- non-english keyboard driver.
-
- Format: KEYB [xx[,[yyy],[[d:][path]filespec[.ext]]]]
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-14
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- 6.2.27 LABEL
-
- The LABEL command is used to install a volume name to a
- specific disk. Both fixed disks and floppy disks are
- able to contain volume labels.
-
- Format: LABEL [d:][volume label]
-
- Exampl: {{ Label Volume in drive A: }}
-
- LABEL A:
- [L] C
-
- You will be prompted for a label string (up to
- 11 chars) by DOS.
-
- 6.2.28 MKDIR/MD
-
- The MKDIR/MD command is used to create directories and
- sub-directories on a fixed or floppy disk.
-
- Format: MD [d:]path -or- MD path
-
- Exampl: {{ Create a New Directory }}
-
- [W]
- [!]
- [?] S Enter Drive Letter for Directory:
- [!]
- [?] S Enter Name for Directory:
- MD %1:\%2
- [L] C
-
- A directory named %2 would be created on drive
- %1.
-
- 6.2.29 MODE
-
- The MODE command is used to make changes to the manner
- in which your system operates. The MODE command can
- effect the VIDEO MODE, the COM PORTS, the KEYBOARD as
- well as numerous other system functions. See your DOS
- manual for details on this command.
-
- 6.2.30 MORE
-
- The MORE command is used by DOS as a filter. This filter
- allows the displaying of text files one screenful at a
- time.
-
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-15
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Format: TYPE filename.ext | MORE
- -or-
- MORE <filename.ext
-
- Exampl: {{ Display a Text File }}
-
- [W]
- [!] 3
- [?] S Enter Name of File to View:
- TYPE %1 | MORE
- [L] C
-
- Displays the contents of file %1 one screenful
- at a time.
-
- 6.2.31 PATH
-
- The PATH command is used to specify the search path for
- command files not located in the current directory.
-
- Format: PATH [[d:]path[[;[d:]path]]]
-
- Exampl: {{ Set the Search Path }}
-
- [W]
- [!] 3
- [?] S Enter Path Set Parameters:
- PATH=%1
- [L] C
-
- Sets the Search path(s) to %1.
-
- 6.2.32 PRINT
-
- The PRINT command is used to print a data file on
- a line printer.
-
- Format: PRINT [/D:device][/B:buffsiz][/U:busytick]
- [/M:maxtick][/S:timeslice][/Q:quesiz]
- [/C][/T][/P][[d:[path][filespec][.ext]...]
-
- Exampl: {{ Set the PRINT Buffersize }}
-
- [W]
- [!] 3
- [?] N Enter Value for BufferSize:
- PRINT /B:%1
- [L] C
-
- Sets the PRINT Buffersize to %1.
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-16
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Exampl: {{ Set the PRINT Queuesize }}
-
- [W]
- [!]
- [!] Queue Can hold up to 32 files!
- [!]
- [?] N Enter Number of Files in Queue:
- PRINT /Q:%1
- [L] C
-
- Sets the PRINT Queuesize to %1.
-
- Exampl: {{ Print Specified Files }}
-
- [W]
- [!] 3
- [?] N Enter Mask for Files to PRINT:
- PRINT %1
- [L] C
-
- Selects all file(s) that match the file mask,
- and writes them into the print queue for
- output to a line printer.
-
- 6.2.33 PROMPT
-
- The PROMPT command is used to change the DOS command
- prompt. See your DOS manual for details on this command.
-
- 6.2.34 RECOVER
-
- This command does not operate in the manner in which it's
- name implies. Catastrophic results can occur from using
- this command improperly. We recommend that this command
- should not be utilized within SYSTEM MASTER.
-
- 6.2.35 RENAME
-
- This command is used to rename one or more disk files.
-
- Format: REN[AME] [d:][path]filespec[.ext] filespec[.ext]
-
- Exampl: {{ Rename File(s) }}
-
- [W]
- [!]
- [?] S Enter Name(Mask) of File(s) to Rename:
- [!]
- [?] S Enter Name(Mask) for new file names:
- RENAME %1 %2
- [L] C
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-17
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- 6.2.36 REPLACE
-
- The REPLACE command is used to replace files already
- in existance or to append files to a target directory.
-
- Format: REPLACE [d:] [path]filespec[.exe] [d:][path]
- [/A][/P][/R][/S][/W]
-
- Exampl: {{ Replace Files to Drive A: }}
-
- REPLACE *.* A:
- [L] C
-
- This example would cause all files that are
- located on drive A: to be replaced with files
- on the current directory that have the same
- names.
-
- 6.2.37 RESTORE
-
- The RESTORE command is used to restore one or more files
- from a BACKUP disk to another disk. This command makes
- BACKUP files useable.
-
- Format: RESTORE d: [d:][path]filespec[.ext][/S][/P]
- [/B:mm-dd-yy[]/A:mm-dd-yy][/M][/N]
- [/L:time][/E:time]
-
- 6.2.38 RMDIR/RD
-
- The RMDIR/RD command is used to delete a directory
- from the tree structure.
-
- Format: RD [d:]path
-
- Exampl: {{ Remove a Directory }}
-
- [W]
- [!] 3
- [?] S Enter Name of Directory to Delete:
- RD %1
- [L] C
-
- This command would remove directory %1 from
- the DOS directory tree.
-
- 6.2.39 SELECT
-
- The SELECT command is used to configure the keyboard
- and country configuration to settings of the user's
- choice.
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-18
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- 6.2.40 SET
-
- The SET command is used to SET the value or contents
- of a DOS environmental variable.
-
- Format: SET [name=[parameter]]
-
- 6.2.41 SHARE
-
- The SHARE command is use to install file-sharing and
- file-locking routines.
-
- 6.2.42 SORT
-
- The SORT command is used as a filter to format output
- from files and devices in a logical ordered manner.
- See your DOS manual for other details.
-
- Format: SORT [/R][/+n] [>filespec[.ext]]
- -or-
- command | SORT [/R][/+n][>filespec.ext]
-
- Exampl: {{ View DIR sorted by filesize }}
-
- DIR | SORT/+14
- PAUSE
- [L] C
-
- 6.2.43 SUBST
-
- The SUBST command is used to substitute a drive letter for
- a path name.
-
- Format: SUBST [d: d:path] -or- SUBST d: /D
-
- Exampl: {{ Substitute Drive for Pathname }}
-
- [W]
- [!]
- [?] S Enter Path for Substitution:
- [!]
- [?] S Enter Drive Letter:
- SUBST %1: %2
- [L] C
-
- Substitutes the Drive Spec %2 to represent the
- full path name of %1.
-
- Exampl: {{ View ALL Drive/Path Substitutions }}
-
- SUBST
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-19
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- PAUSE
- [L] C
-
- Displays a list of all current substitutions.
-
- 6.2.44 SYS
-
- The SYS command is used to transfer DOS system files from
- one disk to another.
-
- 6.2.45 TIME
-
- The TIME command is used to display or set the system time.
-
- Format: TIME [hh:mm[:ss[:xx]]]
-
- Exampl: {{ Set the System Time Clock }}
-
- [W]
- [!]
- [!] All values MUST be 2 digit integers!
- [!]
- [?] N Enter the Current Hour (01-24):
- [?] N Enter the Current Minute (00-59):
- [?] N Enter the Current Second (00-59):
- TIME %1:%2:%3
- [L] C
-
- Sets the System time.
-
- 6.2.46 TREE
-
- The TREE command is used to display the directory file
- structure on a specified disk device.
-
- Format: TREE [d:][/F]
-
- Exampl: {{ Display Tree Structure w/ Files }}
-
- TREE /F | MORE
- [L] C
-
- Displays the Tree Structure and displays all
- disk files located in each directory.
-
- 6.2.47 TYPE
-
- The TYPE command lists the contents of a disk file to
- the current output device (normally the CRT).
-
- Format: TYPE [d:][path]filespec[.ext]
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-20
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Exampl: {{ Type a File to the display }}
-
- [W]
- [!] 3
- [?] S Enter Name of File to Display:
- TYPE %1
- [L] C
-
- Displays the contents of file %1 to the display.
-
- 6.2.48 VER
-
- The VER command displays the version of the DOS operating
- system installed.
-
- Format: VER
-
- 6.2.49 VERIFY
-
- The VERIFY command is used to turn VERIFY ON|OFF when
- writing to a disk.
-
- Format: VERIFY [ON|OFF]
-
- 6.2.50 VOL
-
- The VOL command is used to display the volume name of
- a disk drive.
-
- Format: VOL [d:]
-
- 6.2.51 XCOPY
-
- The XCOPY command is used to copy file(s) and may be
- used to copy files from lower level directories.
- See your DOS Manual for Detailed info.
-
- Format: XCOPY [d:][path]filespec[.ext] [d:][path]
- [filespec[.ext]] [path][/A=[/d:mm-dd-yy)]
- [/A][/D][/E][/M][/P][/S][/V][/W]
-
-
- Format: XCOPY [d:]path[filespec[.ext]] [d:][path]
- [filespec[.ext]] [path][/A=[/d:mm-dd-yy)]
- [/A][/D][/E][/M][/P][/S][/V][/W]
-
-
- Format: XCOPY d:[path][filespec[.ext]] [d:][path]
- [filespec[.ext]] [path][/A=[/d:mm-dd-yy)]
- [/A][/D][/E][/M][/P][/S][/V][/W]
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-21
-
- -------------------------------------------------------------------------
- SECTION 6 DOS Command Reference
- -------------------------------------------------------------------------
-
- Exampl: {{ Copy All Files from Path to Path }}
-
- [W]
- [!]
- [?] S Enter Source Path Name:
- [!]
- [?] S Enter Target Path Name:
- XCOPY %1 %2
- [L] C
-
- Copies All files in path %1 to path %2.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Release Date: 21 January, 1991
- -------------------------------------------------------------------------
- System Master 3.2 Page 6-22