Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ATTRIB (External) Sets or displays the read-only, archive, system, and hidden attributes of a file or directory.
+R makes a file read-only. Read-only files may be read but they can`t be changed or deleted.
-R removes the file protection attribute (so it can be read, changed, or deleted).
+A sets the ARCHIVE attribute of a file.
-A turns off the ARCHIVE attribute.
+H sets the HIDDEN attribute of a file.
-H turns off the HIDDEN attribute.
+S sets the SYSTEM attribute and the file will not appear in a directory listing.
-S turns off the SYSTEM attribute.
/S sets attributes on subdirectories found within the specified path.
CD [d:]path
CHKDSK (External) Checks a disk and provides a file and memory status report.
CLS
COMP (External) Compares two groups of files to find information that does not match.
DATE mm-dd-yy
DEFRAG (External) Optimizes disk performance by reorganizing the files on the disk.
DELTREE (External) Deletes (erases) a directory including all files and subdirectories that are in it.
DELTREE [/Y] [d:]path [d:]path[...]
DEVICE (Internal) Used in the CONFIG.SYS file to tell DOS which device driver to load.
DEVICE=(driver name)
DEVICEHIGH (Internal) Used to install the device driver into the upper memory area.
DEVICEHIGH=(driver name)
DOS (Internal) Used in the CONFIG.SYS to load DOS into the upper memory area and to specify upper memory blocks.
DOS=[high|low],[umb|noumb]
ECHO (Internal) Displays messages or turns on or off the display of commands in a batch file.
ECHO on|off
ECHO (message)
EDIT (External) Starts the MS-DOS editor, a text editor used to create and edit ASCII text files.
EMM386 (External) Enables EMM386 expanded-memory support on a computer with an 80386 or higher processor.
FASTHELP (External) Displays a list of DOS commands with a brief explanation of each.
FASTHELP [command][command] /?
FDISK (External)
FDISK [/status]
FDISK 1/PRI:100 - Command line to create a 100 meg DOS partion on hard drive 1.
FDISK 1/EXT:500 - Command line to create a 500 meg extended DOS partion on hard drive 1.
FDISK 1/LOG:250 - Command line to create a 250 logical drive.
FDISK /PARTN - Saves the partion to a file called PARTSAV.FIL
FILES (Internal) Used in CONFIG.SYS to specify the maximum number of files that can be open at the same time.
FILES=(number)
INTERLINK (External) Connects two computers via parallel or serial ports to share disks and printer ports.
INTERLINK [client[:]=[server][:]]
LASTDRIVE (Internal) Used in CONFIG.SYS to set the maximum number of drives that can be accessed.
LASTDRIVE=(drive letter)
LOADHIGH (Internal) Loads memory resident application into reserved area of memory (between 640K-1M).
MEM (External) Displays installed and available memory, including extended, expanded, and upper memory.
MEMMAKER (External) Starts the MemMaker program, a program that lets you optimize memory.
MEMMAKER [/B][/batch][/session][/swap:d] [/T][/undo][/W:size1,size2]
MIRROR (External) Saves disk storage information that can be used to recover accidentally erased files.
MODE n
MODE LPT#[:][n][,][m][,][P][retry]
MODE [n],m[,T]
MODE (displaytype,linetotal)
MODE COMn[:]baud[,][parity][,][databits][,][stopbits][,][retry]
MODE LPT#[:]=COMn [retry]
MODE CON[RATE=(number)][DELAY=(number)]
MOVE (Internal) Moves one or more files to the location you specify. Can also be used to rename directories.
/D:driver specifies the driver signature of the first CD-ROM device driver. This parameter must match the /D switch on
the CONFIG.SYS command that starts the corresponding CD-ROM device driver. The MSCDEX command
must include at least one /D switch.
/E Specifies that the CD-ROM driver be allowed to store sector buffers in expanded memory.
/K Specifies that DOS should recognize CD-ROM volumes encoded in Kanji. By Default, MS-DOS does not recognize Kanji
CD-ROM values.
/S Enables sharing of CD-ROM drives on MS-NET or Windows for Workgroups servers.
/V Verbose switch to direct MSCDEX to display memory statistics when it starts.
/L:letter Specifies the drive letter to assign to the first CD-ROM drive. If you have more than one CD-ROM drive, MS-DOS
assigns additional CD-ROM drives subsequent drive letters.
/M:number Specifies the number of sector buffers (uses RAM).
MSD [/B][/I]
MSD [/I] [/F[d:][path]filename [/P[d:][path]filename [/S[d:][path]filename
PATH (Internal) Sets or displays directories that will be searched for programs not in the current directory.
PATH [d:]path[;][d:]path[...]
$ invokes the meta-string for the letter instead of the letter itself. P=path; G=”>”; D=date; T=time; etc.
REM (Internal) Used in batch files and in CONFIG.SYS to insert remarks (that will not be acted on).
REM [comment]
RENAME (Internal) Changes the filename under which a file is stored.
RD [d:]path
SCANDISK (External) Disk analysis and repair tool used to check a drive for errors and correct any problems that it finds.
SET (string1)=(string2)
SETVER (External) Displays the version table and sets the version of DOS that is reported to programs.
SHARE (External) Installs support for file sharing and file locking.
SHELL (Internal) Used in CONFIG.SYS to specify the command interpreter that DOS should use.
SHELL=[d:][path]filename [parameters]
SMARTDRV [/X] [[drive[+|-]]...] [/U] [/C | /R] [/F | /N] [/L] [/V | /Q | /S]
[InitCacheSize [WinCacheSize]] [/E:ElementSize] [/B:BufferSize]
STACKS (Internal) Used in CONFIG.SYS to set the number of stack frames and the size of each stack frame.
STACKS=(number),(size)
TIME (Internal) Displays and sets the current time setting of system clock.
TIME hh:mm[:ss][.cc][A|P]
TREE (External) Displays directory paths and (optionally) files in each subdirectory.
TYPE [d:][path]filename
UNFORMAT d: [/J][/L][/test][/partn][/P][/U]
SYNTAX NOTES
1. COMMAND NAME The DOS command name is the name you enter to start the DOS program.
2. SPACE Always leave a space after the command name.
3. DRIVE DESIGNATION The drive designation (abbreviated in this book as "d:") is an option for many DOS commands.
4. COLON When referring to a drive in DOS you must always follow the drive designator with a colon “:”.
5. PATHNAME A pathname (path) refers to the path you want DOS to follow in order to act on the DOS command.
6. FILENAME A filename is the name of a file stored on disk. A filename can be eight characters.
7. FILENAME EXTENSION A filename extension follows the filename after a period and can be three characters.
8. PARAMETERS The files and directories to be manipulated by DOS. Usually comprised of SOURCE and DESTINATION.
9. SWITCHES Characters preceded by a forward slash (for example, "/S") are command options.
10. BRACKETS Items enclosed in brackets are optional.
11. ELLIPSES Ellipses (...) indicate that an item in a command syntax can be repeated as many times as needed.
12. VERTICAL BAR Items separated by a vertical bar (|), means you enter either one of the items. For example: ON | OFF.