External MS-DOS Commands

1.attrib
Attrib-mapping and changing file attributes.
ATTRIB [+ R | -R] [+ A | -A] [+ S | -S] [+ H | -H] [[disk:] [path] im
+ Setting the attribute. - Removing the attribute. R Attribute "Read only". A Attribute "Archive". S Attribute "System". H Attribute "Hidden". / S Process files in all subfolders of the specified path.
2.format
Format drive name: - disk formatting (for floppy format a: or format b :) . Create a system disk: format <drive name>: / s Be careful: when formatting a disk (diskette), all information on it is destroyed!
3.fdisk
Fdisk-partitioning the hard disk into partitions (logical disks C, D, E, and so on). Attention: when you partition a hard disk into partitions, all information on it is destroyed!
4.sys
Sys drive name: -transference of DOS kernel files to disk (floppy disk), creation of system disk (floppy disk). It is also used to change (update) the version of DOS.
5.mem
Mem - output the memory card.
Command formats for the MS-DOS mem.exe utility: mem - the standard RAM card; Mem / c / p - displays the list of downloaded programs; Mem / d / p - displays information about internal devices (eg con, prn, LPT1, etc.) with addressing; Mem / f / p - the amount of free memory with addressing mem / m <program name> - the memory size occupied by the specified downloaded program (resident, with the extension com and exe);
The / p switch prints out page information.
6.chkdsk
Chkdsk c: / f - check the file system and restore lost clusters.
7.scandisk
Scandisk - check the file system and disk for logical failures. For floppies A: scandisk: or scandisk B:
8.label
Label drive name: - create or update a label on a disk, floppy disk.
9.undelete
Undelete drive name: - restore accidentally erased files.
10.diskcopy
Diskcopy drive name: drive name: - create an exact copy of the diskette.
11.print
Print file name prn - print the file to the printer in the background. Canceling background printing: print / t
12.graphics
Graphics - support printing information from the screen (when you press the Print Screen key).
13.defrag
Defrag c: / fd - elimination of fragmentation of files and optimization of information placement on the hard disk (this program is similar to the program Speed ​​Disk from the Norton Utilities).
14.deltree
Deltree directory name - delete the directory tree (with files). Attention! You can only use this command if you are sure that you need to delete this directory tree! Otherwise, important information will be lost!
15.msd
Msd - computer diagnostics.
16.edit
Edit - call the text editor MS-DOS Editor.
17.qbasic
Qbasic - call the BASIC programming language.
18.doskey
Doskey-call a program that makes it easy to edit the contents of the command line (DOS commands being entered).
19.tree
Tree c: \ directory name / f - print the contents of the specified directory.
20.msav
Msav - scan of disks by the antivirus program MS-Antivirus.
21.memmaker
Memmaker is an optimizer for allocating RAM.
22.subst
To create a virtual disk Z on the path B: \ User \ Betty \ Forms, enter the following command: subst z: b: \ user \ betty \ forms Now, instead of entering the full name, you can access the directory by accessing the disk as shown Below: To create a virtual disk (for example, E) that contains files from the ME directory, you should write to the command line: subst e: c: \ me or subst e: c: \ mark \ refis for files from the REFIS directory. The transition to disk E: is performed as a general rule for any disk. This in some cases makes it easier to start programs when the Path command can not already insert a new directory (the total length of directories in the Path command can not exceed 128 bytes). This command can be inserted into the autoexec.bat file, then the virtual disk will be installed permanently. The subst command is also called the synonym definition command for the directory name and is used to not type the directory name that is often used. When creating and deleting files and directories on the virtual disk E: the same thing will happen synchronously and in the ME directory on the C: drive. To create in this way one more second virtual disk F: it is already impossible. There are no visible changes in the operating or disk memory when creating a virtual disk. The command to remove the virtual disk E: subst e: / d.
23.restart
For DOS mode, there is a command RESTART (reboot), the program which is in C: \ WINDOWS \ COMMAND \ EBD \ EBD.CAB, from which RESTART.COM is extracted and placed in a convenient place. For WINDOWS, you can use programs written in VB, C ++, DELFI and other languages, or you can use the following command file: <command package> RESTART If restart.com is in directory C:
24.tracert
Tracing the way to the Internet. Type tracert tracert www.yahoo.com in the DOS window (see Internal Commands, point 16). Forwarding.)