Академический Документы
Профессиональный Документы
Культура Документы
Sets an attribute. Clears an attribute Setting Attribute Attrib +r sample.c Attrib +a sample.c Attrib +s sample.c Attrib +h sample.c Removing attribute Attrib -r sample.c Attrib -r sample.c Attrib -r sample.c Attrib -r sample.c
Attribute R A S H Note: /S
Meaning Read-only file attribute. Archive file attribute System file attribute Hidden file attribute
Deltree (Deletes a directory and all the subdirectories and files in it.)
Ex: deltree vrs Ex: deltree . /y prompting to confirm you want to delete the subdirectory.
edit
MS-DOS Editor Version 2.0.026 Edit
Extract
Microsoft (R) Diamond Extraction Tool - Version (16) 1.00.0602 (07/14/97) EXTRACT LABEL.EX_ LABEL.EXE
fdisk.
Configures a hard disk for use with MS-DOS and Windows 95/98/2000.
Find
FIND [/V] [/C] [/N] [/I] "string" [[drive:][path]filename[ ...]] /V /C /N /I Displays all lines NOT containing the specified string. Displays only the count of lines containing the string. Displays line numbers with the displayed lines. Ignores the case of characters when searching for the string.
format
Formats a disk for use with MS-DOS.
mem. (Displays the amount of used and free memory in your system.)
Mem
Mode
Mode 40
More
scandisk
SCANDISK [drive:] [/a] [/n] [/p] drive: /a /n /p to specify the drive(s) you want to check. to check all your local, nonremovable hard disks. to start and close ScanDisk automatically. to prevent ScanDisk from correcting any errors it finds.
Examples: ======== To check drive D and start and close ScanDisk automatically, the following command might be used: c:\windows\scandisk.exe d: /n To check all nonremovable hard disks but prevent ScanDisk from correcting any errors it finds, this command could be used: c:\windows\scandisk.exe /a /p
Sort (Sorts input and writes results to the screen, a file, or another device.)
SORT [/R] [/+n] [[drive1:][path1]filename1] [> [drive2:][path2]filename2] /R /+n
C:\>sort 1 5 7 8 4 6 2 3 9 ^Z 1 2 3 4 5 6 7 8 9 C:\>
Reverses the sort order; that is, sorts Z to A, then 9 to 0. Sorts the file according to characters in column n.
Sys Copies MS-DOS system files and command interpreter to a disk you specify.
SYS [drive1:][path] drive2: [drive1:][path] Specifies the location of the system files. drive2: Specifies the drive the files are to be copied to.
Ex: Sys c: d:
Ex: xcopy c:\tc d:\tc /p Ex: xcopy c:\tc d:\tc /s Ex: xcopy c:\tc d:\tc /e