📄 commands.txt
字号:
4201.CPI---------------------------------------------------------------------
Code-page information file for IBM Proprinters II and III Model 4201,
and IBM Proprinters II and III XL Model 4202.
4208.CPI---------------------------------------------------------------------
Code-page information file for IBM Proprinter X24E Model 4207, and
IBM Proprinter XL24E Model 4208.
5202.CPI---------------------------------------------------------------------
Code-page information file for IBM Quietwriter III printer.
ADOS-------------------------------------------------------------------------
Starts AccessDOS, a package of MS-DOS extensions for persons with motion
and hearing disabilities.
See ADOS.TXT for information about using AccessDOS.
SYNTAX
------
ADOS [/A] [/C] [/L] [/M] [/X]
SWITCHES
--------
/A
Installs AccessDOS.
/C
Runs AcessDOS in color mode.
/L
Runs AccessDOS in LCD mode.
/M
Runs AccessDOS in monochrome mode.
/X
Runs AccessDOS in minimal mode.
ASSIGN-----------------------------------------------------------------------
Redirects requests for disk operations on one drive to a different drive.
Some older programs can read and write files only on drives A and B. With
the ASSIGN command, you can redirect disk operations for those programs so
that you can read and write files on drives other than A and B.
SYNTAX
------
ASSIGN [x[:]=y[:][...]]
To redirect all drive letters to their original drives, use the following
syntax:
ASSIGN
To display a list of the current assignments, use the following syntax:
ASSIGN /STATUS
PARAMETERS
----------
x
Specifies the drive from which you want to redirect read and write
operations. This value must be a letter. The use of the colon (:)
is optional. y Specifies the existing drive to which you want to redirect
read and write operations. This value must be a letter. The use of the
colon (:) is optional.
SWITCH
------
/STATUS
Lists current assignments. You can abbreviate this switch as
/STA or /S.
NOTES
-----
Invalid uses of ASSIGN
----------------------
You must not assign the drive letter of your hard disk to another drive.
You should not use ASSIGN for a drive that is in use by a program.
You cannot use the drive letter of a hard disk drive that does not
exist for either the x or the y parameter.
Avoid the use of ASSIGN in the following cases:
o With commands requiring drive information (BACKUP, JOIN, LABEL, RESTORE,
SUBST)
o With the DISKCOPY and FORMAT commands, which ignore drive reassignments
o During typical use of MS-DOS, unless a program cannot read and write files
on the specified drive
Using ASSIGN with the APPEND command
------------------------------------
If you use both the ASSIGN and APPEND commands, you must use APPEND first,
even if the commands affect different drives.
Using ASSIGN for network drives
-------------------------------
You can use the ASSIGN command for network drives.
Canceling a previous assignment as the result of a new assignment
-----------------------------------------------------------------
Assigning a drive letter to a drive cancels previous assignments to it.
Suppose you assign drive A to drive letter C, as the following example
shows:
ASSIGN A=C
Later you assign drive B to drive letter C, as the following example shows:
ASSIGN B=C
As a result, drive A is no longer assigned to drive letter C.
Using the SUBST command instead of ASSIGN
-----------------------------------------
You should use the SUBST command instead of ASSIGN. The following commands
are equivalent:
ASSIGN A=C
SUBST A: C:\
EXAMPLES
--------
Suppose you want to use drive C to read and write files, but your program
requires you to put your program disk into drive A and your data disk into
drive B. To reassign the drive letters A and B to drive C, type the
following command:
ASSIGN A=C B=C
This command causes MS-DOS to look for your program and data files on
drive C.
To reset all drive letters to their original drives, type the ASSIGN
command without parameters, as follows:
ASSIGN
BACKUP---------------------------------------------------------------------
Backs up one or more files from one disk onto another.
You can back up files onto either a hard disk or floppy disk(s).
Files can also be backed up from one floppy disk onto another, even
if the disks have different numbers of sides or sectors. MS-DOS displays
the name of each file it backs up.
SYNTAX
------
BACKUP source destination-drive: [/S] [/M] [/A][/F[:size]]
[/D:date [/T:time]][/L[:[drive:][path]logfile]]
PARAMETERS
----------
source
Specifies the location of files you want to back up.
Source can consist of a drive letter and colon, a directory name,
a filename, or a combination.
destination-drive:
Specifies the drive that contains the disk on which you want to store
any backup files. The backup files are stored in the BACKUP.nnn and
CONTROL.nnn files. That is, BACKUP assigns the names BACKUP.001
and CONTROL.001 to the files it creates on the first backup disk you
use, BACKUP.002 and CONTROL.002 to the files it creates on the second
backup disk, and so on.
SWITCHES
/S
Backs up the contents of all subdirectories.
/M
Backs up only files that have changed since the last backup,
and turns off the archive attribute of the original files.
/A
Adds backup files to an existing backup disk without deleting
existing files. (The /A switch is ignored if the existing backup
disk contains backup files that were created by using the BACKUP
command from MS-DOS version 3.2 or earlier.)
/F[:size]
Formats the backup disk to the size you specify. (The FORMAT command
must be present in the current path.) With this switch, you direct
BACKUP to format floppy disks that do not match the default size of
the drive. The BACKUP command formats an unformatted destination disk
even if you do not specify the /F switch. When BACKUP finishes
formatting, it begins backing up files onto the last disk it formatted.
Size specifies the size in kilobytes of the disk to be formatted. If
you do not specify size, the /F switch uses the default size of the
drive. The following list shows the valid values for size and a brief
description of each size:
160 or 160k or 160kb
160K, single-sided, double-density, 5.25-inch disk
180 or 180k or 180kb
180K, single-sided, double-density, 5.25-inch disk
320 or 320k or 320kb
320K, double-sided, double-density, 5.25-inch disk
360 or 360k or 360kb
360K, double-sided, double-density, 5.25-inch disk
720 or 720k or 720kb
720K, double-sided, double-density, 3.5-inch disk
1200 or 1200k or 1200kb or 1.2 or 1.2m or 1.2mb
1.2-MB, double-sided, quadruple-density, 5.25-inch disk
1440 or 1440k or 1440kb or 1.44 or 1.44m or 1.44mb
1.44-MB, double-sided, quadruple-density, 3.5-inch disk
2880 or 2880k or 2880kb or 2.88 or 2.88m or 2.88mb
2.88-MB, double-sided, 3.5-inch disk
/D:date
Backs up only files modified on or after the specified date. The
date format depends on the setting you are using for the COUNTRY
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -