DOS command complete works and detailed explanation

xiaoxiao2021-03-06  14

A) MD - build a subdirectory

XCL

© Yindu Forum - Yindu Forum XAO

1. Function: Create a new subdirectory

Syjx

© Yindu Forum - Yindu Forum IL6

2. Type: internal command

"k (c

© Yindu Forum - Yindu Forum "^ Zu

3. Format: MD [Drive:] [Path Name]

Zy1 @.

© Yindu Forum - Yindu Forum SN6 <

4. Instructions for use:

WJJ

© Yindu Forum - Yindu Forum 8 ^ OP

(1) "Drive": Specifies the disk drive letter to establish a subdirectory, if omitted, is the current drive;

5

© Yindu Forum - Yindu Forum} ^

(2) "path name": The superior directory of the subdirectory to be established, if the default is built in the current directory.

0m] HDV

© Yindu Forum - Yindu Forum Baou

Example: (1) Creating a subdirectory named Fox in the root of the C DC; (2) Create a USER subdirectory in the fox subdirectory.

!

© Yindu Forum - Yindu Forum Z

C:,> MD Fox (creating a subdirectory in the current drive C)

JG [

© Yindu Forum - Yindu Forum 3

C:,> MD Fox, User (create a USER subdirectory in the fox subdirectory)

> R |

© Yindu Forum - Yindu Forum] UAJ

(2) CD - change the current directory

]

© Yindu Forum - Yindu Forum` H5 # wz

1. Function: Show current directory

:

© Yindu Forum - Yindu Forum WUV) 3

2. Type: internal command

^ TC

© Yindu Forum - Yindu Forum H $ Q

3. Format: CD [Drive:] [Path Name] [subdirectory name]

e / (d] j

© Yindu Forum - Yindu Forum 8JKE

4. Instructions for use:

'

© Yindu Forum - Yindu Forum B {G [

(1) If the path and sub-directory names are omitted, the current directory is displayed;

0d0 (x

© Yindu Forum - Yindu Forum R

(2) If the "CD," format is used, it will be returned to the root directory;

{| ba

© Yindu Forum - Yindu Forum>; {

(3) If the "CD .." format is used to return to the previous directory.

/ M4

© Yindu Forum - Yindu Forum, [Y &

Example: (1) Go to the User subdirectory; (2) Return to the subdirectory from the USER subdirectory; (3) Return to the root directory.

ESR

© Yindu Forum - Yindu Forum K

C:,> CD Fox, User (enter the user subdirectory under the Fox subdirectory)

`

© Yindu Forum - Yindu Forum X'ML

C:, fox, user> cd.. (Return to the previous root directory)

, .Xp

© Yindu Forum - Yindu Forum [77

C:, fox> CD, (return to the root directory)

CG *

© Yindu Forum - Yindu Forum C J, LT

C:,>

8DW "` #

© Yindu Forum - Yindu Forum 1

(3) RD - Delete subdirectory command LVA

© Yindu Forum - Yindu Forum B // G8

1. Function: Deleted the directory from the specified disk.

_S

© Yindu Forum - Yindu Forum DKL /

2. Type: internal command

T4x

© Yindu Forum - Yindu Forum 4

3. Format: RD [Path:] [Path Name] [Subnatal Name]

5nb2p

© Yindu Forum - Yindu Forum |

4. Instructions for use:

C4M]

© Yindu Forum - Yindu Forum _G {b5

(1) The sub-directory must be empty before deleting, that is to say, first enter the subdirector, use the DEL (command to delete the file) to delete the files in its subdirectory, and return to the top

YK!]

First class directory, delete the directory itself with the RD command;

OC

© Yindu Forum - Yindu Forum X

© Yindu Forum - Yindu Forum $ | $ 9 [}

© Yindu Forum - Yindu Forum BZM% C

(2) You cannot delete the root directory and the current directory.

4P'Eub

© Yindu Forum - Yindu Forum,

Example: Requirements to delete the user subdirectory under the C disk fox subdirectory, the operation is as follows:

: [

© Yindu Forum - Yindu Forum. J.48`

Step 1: First remove the files in the User subdirectory;

U / LM

© Yindu Forum - Yindu Forum PJ |

C,> DEL C:, FOX, User, *. *

V

© Yindu Forum - Yindu Forum XB

Step 2, delete the USER subdirectory.

WUK0

© Yindu Forum - Yindu Forum Q, BHX

C,> RD C:, FOX, User

WY7V; 2

© Yindu Forum - Yindu Forum Cr

(4) DIR - Display Disk Directory Command

Hide

© Yindu Forum - Yindu Forum W>

1. Function: Displays the contents of the disk directory.

m ~ q? p8

© Yindu Forum - Yindu Forum ZO

2. Type: internal command

Aoo #

© Yindu Forum - Yindu Forum WJL1M

3. Format: DIR [Drive] [Path]

9z *

© Yindu Forum - Yindu Forum 9ru

[/ W]

© Yindu Forum - Yindu Forum {g% _

© Yindu Forum - Yindu Forum K * C% J "

4. Instructions for use: / p Use; when you want to view too much, you can't get on the screen, you will not be easy to see, add / P, you will be displayed on the screen.

~ D%

Show 23 rows of file information, then pause, and prompt; press any key to continue

Qtk

© Yindu Forum - Yindu Forum $

/ W Use: Plus / W Only the file name is displayed, so that the file size and the date and time of the establishment are omitted. After adding the parameters, each line can display five file names.

P.

© Yindu Forum - Yindu Forum, G0

© Yindu Forum - Yindu Forum _P

Path - Path Settings Command

S

© Yindu Forum - Yindu Forum | OGV

1. Function: The search path of the device executable file is only valid for the file.

XYWQI0

© Yindu Forum - Yindu Forum * KF1IB

2. Type: internal command

^ GO /

© Yindu Forum - Yindu Forum 5UU @ z

3. Format: PATH [Card Name 1] Directory [Path Name 1] {[Default 2:], ...} h {Wel

© Yindu Forum - Yindu Forum A ^ /] EI

4. Instructions for use:

T

© Yindu Forum - Yindu Forum!

(1) When running an executable file, DOS will first search the file in the current directory. If you find it; if you can't find the file, depending on the path set by the Path command,

4 = K, NN

The sequence is searched to the directory;

AX_

© Yindu Forum - Yindu Forum H

(2) The path in the path command. If there are two or more, each path is separated;

? l / c)

© Yindu Forum - Yindu Forum [64E

(3) There are three use methods: path command:

^ gj /

© Yindu Forum - Yindu Forum Yjw, *

Path [Disk 1:] [Path 1] [Path 2:] [Path 2] ... (Setting the search path of the executable)

© Yindu Forum - Yindu Forum E9

PATH: (Cancel all paths)

@ZC

© Yindu Forum - Yindu Forum A

PATH: (Show the path set ")

X-

© Yindu Forum - Yindu Forum 1N

(6) TREE - Display Disk Directory Structure Command

R-Z

© Yindu Forum - Yindu Forum Y

1. Function: Displays all directory paths on the specified drive and all file names in these directories.

Wvyzm

© Yindu Forum - Yindu Forum! ^ Vf

2. Type: External Command

NW

© Yindu Forum - Yindu Forum |

3. Format: Tree [Drive:] [/ f] ["PRN]

z

© Yindu Forum - Yindu Forum 0

4. Instructions for use:

a

© Yindu Forum - Yindu Forum 7FU

(1) Display all files and directory all files, omitted, and only the directory is displayed, and the files in the directory are displayed;

AE? G} n

© Yindu Forum - Yindu Forum & 2 (B [;

(2) When selecting> PRN parameters, print the file name in the listed directory and directory.

Jet

© Yindu Forum - Yindu Forum% f * p *

(7) DELTREE - Delete the entire directory command

JE2 /

© Yindu Forum - Yindu Forum 'D

1. Function: Remove the entire directory and subordinate subdirectories and files.

'C

© Yindu Forum - Yindu Forum -G ') "

2. Type: External Command

"ZF <

© Yindu Forum - Yindu Forum O ~ GP

3. Format: Deltree [Disk]

`% MWT

© Yindu Forum - Yindu Forum NL1

4. Instructions for use: This command can be deleted with all the files, subdirectories, and lower subdirectories, and regardless of the file's properties, and regardless of the file.

CM6

As long as the file is located in the deleted directory, Deltree has taken the colleagues, and the deletion is incorrect. Be careful when using it! ! !

RXI '

© Yindu Forum - Yindu Forum} M8

V. Disk operation class command

MB

© Yindu Forum - Yindu Forum MK: $ ~ 1 © Yindu Forum - Yindu Forum OAW!

© Yindu Forum - Yindu Forum Uro

(1) Format - disk format command

WVT?

© Yindu Forum - Yindu Forum B.K9

1. Function: Format, divide the tracks and sectors of the disk; at the same time check out the tracks with non-defective defects on the disk, marking the bad track; establish a directory area and file allocation table,

= -, yu

Enable the disk to receive DOS preparation.

I.

© Yindu Forum - Yindu Forum 3 = <~

2. Type: External Command

GU_S

© Yindu Forum - Yindu Forum $ _SY

3. Format: Format [/ s] [/ 4] [/ q]

A8

© Yindu Forum - Yindu Forum HP!

4. Instructions for use:

'E ^

© Yindu Forum - Yindu Forum B ~ PRLD

(1) If the command after the command cannot be default, if the hard disk is formatted, it will be as follows: Warning: All Data on Non --Removable Disk

% I>!

© Yindu Forum - Yindu Forum ^ 7

Drive C: Will Be Lost!

D-

© Yindu Forum - Yindu Forum T ^, Gy {

Proceed with format (y / n)?

WYX

© Yindu Forum - Yindu Forum @

(Warning: All data is on the C drive, will it be lost, is it really formatted?)

E && K? I

© Yindu Forum - Yindu Forum` LB $$ x

(2) If it is formatted to the floppy disk, you will be prompted as follows: INSERT MEW Diskette for Drive A;

J

© Yindu Forum - Yindu Forum T

And press Enter When Ready ...

i

© Yindu Forum - Yindu Forum {.

(Insert a new disk in a A drive, ready to press Enter).

z> {8oi

© Yindu Forum - Yindu Forum W

(3) Select the [/ S] parameter, copy the DOS system files IO.SYS, MSDOS.SYS, and Command.com to disk so that the disk can be used as a DOS boot disk. If you do not choose / s parameters,

Qi

Then the formatted 磙磙 can only read and write information, and cannot be used as a boot disk;

Emg} e

© Yindu Forum - Yindu Forum FPON

(4) Select the [/ 4] parameters, format 360kB low density disk in a 1.2MB high-density software drive;

_ & 4

© Yindu Forum - Yindu Forum 'GY

(5) Select [/ Q] parameters, quickly format, this parameter does not re-divide the magnetic track lounge and sector, only the disk root directory, file allocation table, and boot sector

Y0

Blank, so the formatted speed is faster.

H7LB ^?

© Yindu Forum - Yindu Forum

(6) Select the [/ u] parameters, indicating that there is unconditional format, that is, destroying all the data on the original disk. Do not add / u, it is safely formatted. At this time, create a mirror file to save the original FAT.

& # m

The table and root directory can be used to restore the original data with UNFORRMAT.

PQ- / W

© Yindu Forum - Yindu Forum ZB [

(2) Unformat recovery formatted command

9% 5!

© Yindu Forum - Yindu Forum F2 '

1. Function: Recovery for disk that is lost to malfunction data.

Ri

© Yindu Forum - Yindu Forum OQLNW <

© Yindu Forum - Yindu Forum BN

2. Type: External Command

0RC2

© Yindu Forum - Yindu Forum (C: DIE

3. Format: unformat [/ L] [/ u]

8

© Yindu Forum - Yindu Forum US ("/ A

[/ Test]

`

© Yindu Forum - Yindu Forum 3

4. Instructions: Used to recover the disk that will be formatted by "non-destructive". The deleted file or subdirectory and disk system sector (including FAT, root directory, boot sector)

W ~

And hard disk partition tables) can also be rescued with unformat.

F * VZ

© Yindu Forum - Yindu Forum BUR

(1) Select the / l parameter to list the information found by the sub-directory name, file name, Daxia dates, but not really format work.

> 5 / w`

© Yindu Forum - Yindu Forum FKY!

(2) Select / P parameters will be sent to the screen (including / L parameter) at the same time. Running screen will be displayed

U0u

Schedule: "Print Out Will Be Sent To LPT1"

) TS

© Yindu Forum - Yindu Forum M6CLYX

(3) Selecting the / TEST parameter to do only the simulation test (TEST) does not do a real write action. Use this parameter screen to display: "Simulation Only"

NA;

© Yindu Forum - Yindu Forum C} [?

(4) Selecting the / U parameter Do not use the data of the mirror image file, directly unformat according to the current status of the disk.

a?

© Yindu Forum - Yindu Forum M @ Xey

(5) Select / PSRTN; repair the hard disk partition table.

XAybya

© Yindu Forum - Yindu Forum 0.]

If one of / p, / l, / test after the drive is equivalent to using the / u parameter, unformat will "assume" that the disk does not have the mirror image file.

K_; L? 3

© Yindu Forum - Yindu Forum XXU2

Note: Unformat is fully recovered for the FORMAT disk, but if Format has been written in other data, UNFORMAT will not complete the data. Unformat

9zz * i

Not that is universal, because using unformat will rebuild the FAT and root directory, it also has high hazards, and improper operation may expand loss, if only several files are deleted or

| =

The subdirectory only needs to take advantage of Undelete.

zb

3) CHKDSK - Check Disk Current Status Commands

(l # .3 |

© Yindu Forum - Yindu Forum D?> 0 /

1. Function: Display disk status, memory status, and discontinuous number of specified files under specified paths.

G_

© Yindu Forum - Yindu Forum 0jkv ^ h

2. Type: External Command

8

© Yindu Forum - Yindu Forum DP / 7

3. Format: Chkdsk [Disk] [Path] [File Name] [/ f] [/ V]

,}%Z -

© Yindu Forum - Yindu Forum / AXC & P

4. Instructions for use:

NNV /

© Yindu Forum - Yindu Forum ;; 2

(1) Select the [File Name] parameter, then display the file occupied by the file; JN}

© Yindu Forum - Yindu Forum GEA

(2) Select the [/ F] parameters to correct the logic errors found on the specified disk;

[#? IH9

© Yindu Forum - Yindu Forum JQV

(3) Select the [/ V] parameter, display all the files and paths on the disk.

= I? XN

© Yindu Forum - Yindu Forum K * QCNY

(4) DiskCopy - intending to copy command

88

© Yindu Forum - Yindu Forum 0S

1. Function: Copy format and floppy disk that is exactly the same.

@J

© Yindu Forum - Yindu Forum K., 7T /

2. Type: External Command

5IDE ~ =

© Yindu Forum - Yindu Forum Yhr;

3. Format: DiskCopy [Disk 1:] [Disk 2:]

E,? P!

© Yindu Forum - Yindu Forum JVP`Uj

4. Instructions for use:

0 "7

© Yindu Forum - Yindu Forum Pud ^

(1) If the target floppy disk is not formatted, the system is automatically selected when copying.

l

© Yindu Forum - Yindu Forum XW !,

(2) If the original file on the target floppy is copied, it will be lost.

G}

© Yindu Forum - Yindu Forum {L & ~

(3) If it is a single drive copy, the system will prompt time-replacement source disk and target disk, pay attention to the source disk and target disk when operating.

] H:

© Yindu Forum - Yindu Forum ^

(5) Label - build disk volume label command

RX) z /%

© Yindu Forum - Yindu Forum <5 {IE

1. Function: Establish, change, delete disk scroll.

S

© Yindu Forum - Yindu Forum 6

2. Type: External Command

4AR6D ~

© Yindu Forum - Yindu Forum EESKTW

3. Format: Label [Disk] [Volume Label]

'r {zf}

© Yindu Forum - Yindu Forum YG

4. Instructions for use:

v

© Yindu Forum - Yindu Forum K4 {

(1) The volume is named as the volume labeled name to be established. If this parameter is deficient, the system prompts to type the volume name or ask if the original volume labeled name is deleted;

/

© Yindu Forum - Yindu Forum 4

(2) The volume is constructed from 1 to 11 characters.

FZMG

© Yindu Forum - Yindu Forum A2 N $

(6) VOL - Display Disk Booster Commands

9LYR

© Yindu Forum - Yindu Forum 4

1. Function: View the disk volume mark.

N (C)

© Yindu Forum - Yindu Forum Q "! G = 9

2. Type: internal command

KK

© Yindu Forum - Yindu Forum ZQ] Q1W

3. Format: Vol [Disk]

-

© Yindu Forum - Yindu Forum M

4. Instructions for use: omitted the disc character, display the current drive scroll.

? CZKX

© Yindu Forum - Yindu Forum: 1-`'

(7) ScanDisk - detection, repair disk command

QO (II

© Yindu Forum - Yindu Forum {

1. Function: Detecting a disk's FAT table, directory structure, file system, etc. have problems, and can fix the detected issues.

[

© Yindu Forum - Yindu Forum RC2. Type: External Command

Y.aztr

© Yindu Forum - Yindu Forum [BT> UL

© Yindu Forum - Yindu Forum | <

© Yindu Forum - Yindu Forum 0CZ

3. Format: Scandisk [Disk 1:] {[Disk 2:] ...} [/ all]

T: X

© Yindu Forum - Yindu Forum G_TEA

4. Instructions for use:

w {usk;

© Yindu Forum - Yindu Forum>

(1) CCANDisk is suitable for hard disk and floppy disk, you can specify multiple disks at a time or to specify all disks;

a

© Yindu Forum - Yindu Forum $ =

(2) The logical errors such as cross-linking, loss clusters, and directory structures that occur during the disk can be automatically detected, and fix them.

TAF

© Yindu Forum - Yindu Forum 2S` {`

(8) DEFRAG - Reforming Disk Command

= &

© Yindu Forum - Yindu Forum LKT4N

1. . Function: Monitor disk and eliminate disk scaffold.

, V

© Yindu Forum - Yindu Forum Z *

2. Type: External Command

_

© Yindu Forum - Yindu Forum - / NJ,

3. Format: DEFRAG [Drive:] [/ f]

C% f | f @

© Yindu Forum - Yindu Forum EGUR

4. Instructions: Select / F parameters to eliminate fragmentation on the file, and adjust the arrangement of disk files to ensure that there is no gap between files. To speed up the speed of the read disc and save disks

D "fs;

space.

BLZCUP

© Yindu Forum - Yindu Forum QA

(9) SYS - System Replication Command

N5

© Yindu Forum - Yindu Forum IM [

1. Function: Transfer the DOS system files IO.SYS, MSDOS.SYS, and Command.com on the current drive to the specified drive.

AQ4y

© Yindu Forum - Yindu Forum u.

2. Type: External Command

ET =

© Yindu Forum - Yindu Forum P4UO-4

3. Format: SYS [Disk]

:]2

© Yindu Forum - Yindu Forum & /

* Instructions: If the disk remaining space is not enough to store system files, then prompt: no roomfor on destination disk.

9

© Yindu Forum - Yindu Forum} az] {f

© Yindu Forum - Yindu Forum;} C #.

File operation class command

#SA

© Yindu Forum - Yindu Forum $

(1) Copy file copy command

NWM *

© Yindu Forum - Yindu Forum QSH

1. Function: Copy one or more files to the specified disk.

Ri> EQ

© Yindu Forum - Yindu Forum ZT

2. Type: internal command

[

© Yindu Forum - Yindu Forum I5` ^

3. Format: COPY [Source Disk] [Path] [Target Path] [Path] [Target File Name]

I; 6iqq

© Yindu Forum - Yindu Forum)

4. Instructions for use:

/

© Yindu Forum - Yindu Forum / $ NW

(1) COPY is the file copy data on the file, and the target disk must have been formatted before replication;

g {x

© Yindu Forum - Yindu Forum $ E {B

(2) During the copy process, the old file on the same file name on the target disk will be replaced by the source file;? = PU13

© Yindu Forum - Yindu Forum BZE

(3) When copying the file, you must first determine enough space, otherwise it will appear; InsufFicient's error message, prompting disk space insufficient;

:: N

© Yindu Forum - Yindu Forum) & _ M

(4) The file name is allowed to use the generalization "*" "?", And multiple files can be copied at the same time;

5AQW

© Yindu Forum - Yindu Forum 41 {R

(5) The source file name in the copy command must be pointed out that it is not omitted.

Aoni ^ g

© Yindu Forum - Yindu Forum T9R-T

(6) When copying, the target file name can be the same as the source file name, called "the same name copy", and the target file name may be omitted;

/ (/ @?

© Yindu Forum - Yindu Forum @V

(7) When copying, the target file name can also be different from the source name, referred to as "a copy copy", at this time, the target file name cannot be omitted;

i ""

© Yindu Forum - Yindu Forum ENB9B

(8) When copying, you can also merge several files into a file, called "merge copy", the format is as follows: Copy; [source disk] [Path] ... [ Objective

3oj =

Board] [Path]

Y% w

© Yindu Forum - Yindu Forum,

(9) Using the COPY command, you can also enter the data to establish files from the keyboard, the format is as follows: Copy Con [Disk:] [Path] ;

2

© Yindu Forum - Yindu Forum 8: g)

(10) Note: The usage format of the copy command, the source file name and the target file name must have space!

{

© Yindu Forum - Yindu Forum ZSC

(2) XCOPY - Directory copy command

QX [

© Yindu Forum - Yindu Forum = M * I

1. Function: Copy all files in the specified directory and directory together with the directory structure.

4T6 / 1L

© Yindu Forum - Yindu Forum B

2. Type: External Command

^ YEUI

© Yindu Forum - Yindu Forum S}

3. Format: xcopy [source disk:] [Target Drive:] [Target path name] [/ s] [/ v] [/ e]

N_ #

© Yindu Forum - Yindu Forum N '

4. Instructions for use:

* 8PCEY

© Yindu Forum - Yindu Forum @ W29

© Yindu Forum - Yindu Forum ET & VF

© Yindu Forum - Yindu Forum LMI: SN

(1) Xcopy is the expansion of COPY, can copy the specified directory and directory structure, but cannot copy hidden files and system files;

F8ch

© Yindu Forum - Yindu Forum; P2 <8

(2) Use the time source disk, source target path name, and source file names at least one;

= PX7 | 0

© Yindu Forum - Yindu Forum R; 5TU

(3) Use / s to copy all the files under the source directory and its subdirectory. Unless specified / e parameters, / s does not copy the empty directory, if the / s parameter is not specified, Xcopy only copies CMWP3_

The file of the source directory itself does not involve the subdirectories under which;

E! 9

© Yindu Forum - Yindu Forum

(4) When the / v parameter is selected, the sector of the pair is checked, but the speed will be reduced.

~ 0x

© Yindu Forum - Yindu Forum; B

(3) TYPE - display file content command

P4RS

© Yindu Forum - Yindu Forum Y 3BA

1. Function: Displays the contents of the ASCII code file.

MOD

© Yindu Forum - Yindu Forum Kyi -

2. Type: Internal Command.

_XS

© Yindu Forum - Yindu Forum G0 @ [O

3. Format: Type [Disk] [Path]

G

© Yindu Forum - Yindu Forum IT

4. Instructions for use:

= ZQBSD

© Yindu Forum - Yindu Forum O

(1) Display text files consisting of ASCII code, right. EXE.COM, etc., the content of its display is unread, there is no practical meaning 2;

ON (;} U

© Yindu Forum - Yindu Forum F | H1-

(2) This command can only display the content of a file at a time, and the wildcard cannot be used;

I # 4

© Yindu Forum - Yindu Forum

(3) If the file has an extension, the extension must be written;

Obhj

© Yindu Forum - Yindu Forum? KTX! E

(4) When the file is longer, when the screen is displayed, you can display it in the following format; type [Display:] [Path] | more, more is the split screen display command, use some parameters

CZR

The full screen will be paused, pressing any key to continue displaying.

J #

© Yindu Forum - Yindu Forum Q? 6 |

(5) If you need to print the contents, you can use the following format:

SQP8

© Yindu Forum - Yindu Forum P3G '? U

TYPE [Drive:] [Path] ,> PRN

KSM

© Yindu Forum - Yindu Forum` UT

At this point, the printer should be in a online state.

HK

© Yindu Forum - Yindu Forum F

(4) REN - file rename command

6T-J

© Yindu Forum - Yindu Forum U3H-Y

1. Function: Change the file name

WT> AR

© Yindu Forum - Yindu Forum NW = MF

2. Type: internal command

: * `= 3

© Yindu Forum - Yindu Forum O "

3. Format: REN [Disk] [Path]

B & / - @

© Yindu Forum - Yindu Forum E

4. Instructions for use:

D

© Yindu Forum - Yindu Forum 4J

(1) You cannot add the disk and path before the new file name, because the command can only replace the file name on the file on the same plate;

VG

© Yindu Forum - Yindu Forum 5

(2) Allows a set of file names or extensions using wildcard.

5> {@

© Yindu Forum - Yindu Forum> FHL

(5) FC - file comparison commands E *; J:

© Yindu Forum - 1C% in Yindu Forum

1. Function: Compare the difference in the file, and lists the differences.

JW

© Yindu Forum - Yindu Forum (SGO

© Yindu Forum - Yindu Forum | NA

2. Type: External Command

% * 7W,

© Yindu Forum - Yindu Forum Xaoire

3. Format: FC [Drive:] [Path Name] [Distribution:] [Path Name] [File Name] [/ A] [/ C] [/ n]

SU ~

© Yindu Forum - Yindu Forum HQO

4. Instructions for use:

J

© Yindu Forum - Yindu Forum E

(1) Select / a parameter to compare the ASCII code;

6z (a

© Yindu Forum - Yindu Forum "Li, 5

(2) Select / b parameter to compare the binary comparison mode;

N

© Yindu Forum - Yindu Forum A #

(3) Select / c parameters to see the case as the same character.

EP

© Yindu Forum - Yindu Forum S <.ne

(4) Select / n parameters, in the ASCII code comparison mode, display the line number of the difference.

9

© Yindu Forum - Yindu Forum /

(6) Attrib - Modify the file attribute command

H # s

© Yindu Forum - Yindu Forum = 6E

1. Function: Modify the properties of the specified file. (See 2.5.4 (2) File Properties section) section)

[%

© Yindu Forum - Yindu Forum C

2. Type: External Command.

{0 | DS6

© Yindu Forum - Yindu Forum!

3. Format: Attrib [File Name] [R] [- R] [A] [- A] [H] [- H]

[--S]

I> M

© Yindu Forum - Yindu Forum H1> K

4. Instructions for use:

:] o *!

© Yindu Forum - Yindu Forum N

(1) Select the R parameter, set the specified file to read-only properties, so that this file can only be read, cannot write data or delete; select -R parameters, remove read-only properties;

C # 6 | K

© Yindu Forum - Yindu Forum Z'z

(2) Select a parameter to set the file to file properties; select -A parameters to remove file properties;

> au

© Yindu Forum - Yindu Forum WSM

(3) Select the H parameters, adjust the file to impide the implied attribute; choose -h parameters to hidden attributes;

BXR ~ ME

© Yindu Forum - Yindu Forum | V $ (? X

(4) Select the S parameters to set the file as the system properties; select -S parameters to remove system properties;

k

© Yindu Forum - Yindu Forum ^ Kvy.

(5) Select / s parameters to set all the subdirectories and settings to the current directory.

CN1`P

© Yindu Forum - Yindu Forum } 9ZKW

© Yindu Forum - Yindu Forum W7EJM

© Yindu Forum - Yindu Forum Z | F ';

7) DEL - delete file commands

t

© Yindu Forum - Yindu Forum 9

1. Function: Delete the specified file.

7LB F0

© Yindu Forum - Yindu Forum / LPK

2. Type: internal command

^

© Yindu Forum - Yindu Forum * [? "

3. Format: DEL [Disk] [Path]

AY

© Yindu Forum - Yindu Forum

© Yindu Forum - Yindu Forum * Cuyu /

© Yindu Forum - Yindu Forum f *

© Yindu Forum - Yindu Forum T9 /

4. Instructions for use:

U5 / -

© Yindu Forum - Yindu Forum H

(1) Select / P parameters, the system is inquiry before deleting whether the file is really deleted, if this parameter is not used, then automatically delete;

~ t! d =

© Yindu Forum - Yindu Forum!

(2) This command cannot delete the attribute as an implicit or read-only file;

6o

© Yindu Forum - Yindu Forum JGWO

(3) The wildcard can be used in the file name;

A

© Yindu Forum - Yindu Forum E

(4) To delete all files on the disk (del *. * Or DEL.), Will prompt: (Are you sure?) If you answer Y, then delete, answer n, then take

] FAH

Remove the job.

S 8J

© Yindu Forum - Yindu Forum O # 1-R]

(8) Undelete - Restore Delete Commands

`K35

© Yindu Forum - Yindu Forum "V

1. Function: Restore missed command

^ 1BSD

© Yindu Forum - Yindu Forum # 5bV

2. Type: External Command.

Na6s]

© Yindu Forum - Yindu Forum D? LLTV

3. Format: Undelete [Disk] [Path Name] [/ dos] / list] [/ all]

) q5!

© Yindu Forum - Yindu Forum PW? _ # "

4. Instructions: Use Undelete to use "*" and "?" Wildcard.

5 | 3P

© Yindu Forum - Yindu Forum LD ^ = | g

(1) Select the / dos parameter to recover the files according to the records remaining in the directory. Since the file is deleted, the first character recorded in the directory will be changed to E5, and DOS is based on the file.

L2]

The E5 and its subsequent characters are found to find files to recover, so Undelete will require the user to enter a character to make the file name. But this character does not have to be the same as the original.

G8

Simply in line with DOS file name rules.

M6)

© Yindu Forum - Yindu Forum 0: Q

(2) Selecting / List only "List" Files that meet the specified criteria without performing recovery, so there will be no impact on disk content.

% GI75E

© Yindu Forum - Yindu Forum |

(3) Select / ALL to automatically recover fully recovered files, and inform the user in order to use this parameter, if Undelte uses the records in the directory to recover files,

_TIG-

It will automatically select a character to replenish the file name and make it the same as the existing file name, and the preferred order of selecting characters is: #% - 0000123456789a ~ z.

A5'm,

© Yindu Forum - Yindu Forum /

© Yindu Forum - Yindu Forum U0JX {E

© Yindu Forum - Yindu Forum VAO

Undelete also has the function of establishing the protection measures of the document, which has exceeded the scope of the course, and readers should check the DOS manual when using some functions. D0

© Yindu Forum - Yindu Forum Gi6 #

Seven, other orders

QS

© Yindu Forum - Yindu Forum J

(1) CLS - clear screen command

DB0

© Yindu Forum - Yindu Forum: OB

1 Function: Clear all the display on the screen, the cursor is placed on the upper left corner of the screen.

D @ `mr =

© Yindu Forum - Yindu Forum EB9L

2 Type: Internal Command

Zwgs_:

© Yindu Forum - Yindu Forum WCTS

3 format: CLS

8h1

© Yindu Forum - Yindu Forum <1

(2) VER View System Version Number Command

V {? 8

© Yindu Forum - Yindu Forum T

1 Function: Display the current system version number

"

© Yindu Forum - Yindu Forum J3 / T {D

2 Type: Internal Command

BBG

© Yindu Forum - Yindu Forum {W

3 format: Ver

a =; AR0

© Yindu Forum - Yindu Forum OJD

(3) DATA date setting command

IHXi

© Yindu Forum - Yindu Forum HJ

1 Function: Set or display the system date.

Qi

© Yindu Forum - Yindu Forum * L {Z

2 Type: Internal Command

8Q_

© Yindu Forum - Yindu Forum!; (O`

3 Format: Date [mm - DD - YY]

L.! K`w

© Yindu Forum - Yindu Forum,

4 Instructions for use:

Ii

© Yindu Forum - Yindu Forum * 6ek

(1) omission [mm - dd - y] Display the system date and prompts to enter a new date, do not modify, you can press the Enter key directly, [mm - dd - y] "month-day-day - Year "

Qi

format;

)

© Yindu Forum - Yindu Forum 0V

(2) When the machine starts start, there is an automatic processing file (Autoexec.bat) is executed, the system does not prompt the system date. Otherwise, prompt to enter the new date and time.

5az

© Yindu Forum - Yindu Forum Pyn7

(4) TIME system clock setting command

r> |

© Yindu Forum - Yindu Forum / LL

1 Function: Set or display the system period.

#

© Yindu Forum - Yindu Forum NTC

2 Type: Internal Command

% l / r%.

© Yindu Forum - Yindu Forum ~ @ | 2

3 Format: Time [hh: mm: ss: xx]

{{

© Yindu Forum - Yindu Forum O ^ 8J

4 Instructions for use:

j

© Yindu Forum - Yindu Forum U

(1) omissions [HH: MM: SS: XX], display the system time and prompt to enter a new time, you can press the Enter key directly, [hh: mm: ss: xx] "Hours: Minute: Second :percentage

O6

A few seconds "format;

M

© Yindu Forum - Yindu Forum LNSNST

(2) When the machine starts start, there is an automatic processing file (Autoexec.bat) is executed, the system does not prompt the system date. Otherwise, prompt to enter the new date and time.

K - ' EZ

© Yindu Forum - Yindu Forum% N5L1C

(5) MEM View the current memory status command

Nayz

© Yindu Forum - Yindu Forum 2? & Og5

1 Function: Show the current memory usage

B

© Yindu Forum - Yindu Forum KD8

2 Type: External Command

Tu; ^

© Yindu Forum - Yindu Forum X

3 Format: MEM [/ C] [/ f] [/ m]

} K

© Yindu Forum - Yindu Forum C I`

© Yindu Forum - Yindu Forum 9X

© Yindu Forum - Yindu Forum "

© Yindu Forum - Yindu Forum D

4 Instructions for use:

Q & E Z7

© Yindu Forum - Yindu Forum WJ

(1) The selection / c parameter lists the length of each file loaded into regular memory and CMB, and also shows the usage status of memory space and the maximum available space;

~)

© Yindu Forum - Yindu Forum {

(2) Select / F parameters list the current regular memory remaining bytes and the area and size of UMB available;

a

© Yindu Forum - Yindu Forum 0Q

© Yindu Forum - Yindu Forum LQDMF

(3) Select / M parameter Display the module uses memory address, size and module nature;

RSG [

© Yindu Forum - Yindu Forum% W)

(4) Select / P parameter Specify that when the output exceeds a screen, the user is paused for users to view.

6>

© Yindu Forum - Yindu Forum * LL

(6) MSD display system information command

FXXO ~

© Yindu Forum - Yindu Forum CY ~ J

1 Features: Display the situation of the hardware and operating system of the system.

_.

© Yindu Forum - Yindu Forum KO]

2 Type: External Command

E ^ is

© Yindu Forum - Yindu Forum / =

3 format: MSD [/ s]

Enzta5

© Yindu Forum - Yindu Forum 7

4 Instructions for use:

7 @

© Yindu Forum - Yindu Forum D

(1) When selecting / i parameter, no hardware is detected;

O

© Yindu Forum - Yindu Forum G`m0

(2) When the / b parameter is used, the MSD is started in black and white;

LZ W.C

© Yindu Forum - Yindu Forum!

(3) When selecting / s parameters, a concise system report is displayed.

]

转载请注明原文地址:https://www.9cbs.com/read-50062.html

New Post(0)