DOS common command

xiaoxiao2021-03-06  47

To use DOS, you know that some common commands are very important. Here are some of the orders.

The file name is set by the file path and the file name, such as C: /DOS/command.com.

DIR Displays files and folders (directory). Usage: DIR [File Name] [Option]

It has many options, such as / a represents all files (ie, files including hidden and system properties), / s represents the files in subfolders, / P Represents the split screen display, / b represents only files Name, etc. Such as DIR A * .EXE / A / P This command split screen displays all files (clips) under the current folder (clip).

CD or ChDIR changes the current folder. Usage: CD [folder name] If there is no folder name, the current path is displayed.

MD or MKDIR build folders. Usage: MD folder name

RD or RMDIR deletes folders. Usage: RD folder Name Note: This folder must be empty.

Del or ERASE deletes files. Usage: Del / Erase file name

Copy copy file. Usage: COPY File Name 1 [File Name 2] [Option] If COPY / B A B C This command will combine two binaries A and B as a file C.

TYPE displays the file content. Usage: Type file name

REN or RENAME changes the file name and folder (directory) name. Usage: ren file (clip) name 1 file (clip) name 2

Edit Edit files, you can also edit binary and multiple files in MS-DOS 7.x. Usage: Edit [File Name] [Option] If edit / 70 c: /command.com This command edits C: /command.com files in binary.

Format formatted disk. Usage: Format Drive [Option]

Its options, such as / q is fast formatting, / u means unconditional formatting (ie unable to use unformat and other command recovery), / v Specify the volume label name of the disk, and so on. It also has many unapproved parameters.

MEM displays memory status. Usage: MEM [option]

Its option also has a lot, such as / c may list all programs memory occupation, / d is detailed information such as program and device driver status, / f shows the total amount of memory, / m Module information in memory, / p is a split screen display. There is also a hidden / A option, you can display HMA information.

Move mobile files or folders, you can also change the name of the file or folder. Usage: Move file [clip] 1 file [clip] 2 such as MOVE C: / *. EXE D: This command moves all the files below all extensions under the D disk under the D disk.

Xcopy replicates files or folders. Usage: Xcopy file [] name 1 [file [clip] name 2] [option]

Its options are very large, such as / s files in the entire folder (including subfolders), / E specifies the correctness of the file including the empty folder, / V represents the correctness of the copy after copying, / y Confirm, and so on.

CLS clears the screen. Usage: CLS

The SYS conduction system that is transmitted to the specified drive from one to the specified drive. Usage: SYS Folder Name [Drive] If Sys C: / DOS A: This command can transfer system files under the C: / DOS folder to the A disk.

Date display or set the date. Usage: Date [Date]

TIME display or set time. Usage: Time [Time]

DOS also comes with some other commands, such as Sort, Find (looking for characters), etc. In addition to the commands of DOS comes, there are many other enhanced commands that are also very practical, which can greatly enhance DOS functionality. There are many software available in "DOS Software". ------------------------------------------------ Editor: Zhang Qingzhangking@263.net QQ: 9365822 msn: zhangking@hotmail.com Personnel Home: http://www.why100000.com ("100,000 Why" Computer Learning Network) Other Website: http://sogo99.com ("Sogou 99" network portal) http://neteye.blogchina.com ("Men" Blog China) 2004.12.12

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

New Post(0)