Detailed dos command (3)

xiaoxiao2021-03-06  24

DEL - Remove the file command

1. Function: Delete the specified file.

2. Type: internal command

3. Format: DEL [Disk] [Path] [/ P]

4. Instructions for use:

(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;

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

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

(4) To delete all files (Del * · * or DEL ·) on the disk, will you prompt: (Are you determined?) If you answer Y, then delete, answer n, then cancel This delete job.

(8) Undelete - Restore Delete Commands

1. Function: Restore missed command

2. Type: External Command.

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

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

(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 by the directory will be changed to E5. DOS finds the file you want to recover according to the E5 and its subsequent characters starting, so Undelete will require the user to enter a character. To make up the file name. But this character does not have to be the same as the original, just in line with the DOS file name rules.

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

(3) Select / ALL to automatically recover fully recoverable files, and inform the user in order to use this parameter, if Undelte uses the recorded records in the directory to recover files, it will automatically select a character. Names, and make it the same as the existing file name, the preferred order of the selection is: #% - 0000123456789a ~ z.

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.

Seven, other orders

(1) CLS - clear screen command

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

2 Type: Internal Command

3 format: CLS

(2) VER View System Version Number Command

1 Function: Display the current system version number

2 Type: Internal Command

3 format: Ver

(3) DATA date setting command

1 Function: Set or display the system date.

2 Type: Internal Command

3 Format: Date [mm - DD - YY]

4 Instructions for use:

(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 "format;

(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. (4) TIME system clock setting command

1 Function: Set or display the system period.

2 Type: Internal Command

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

4 Instructions for use:

(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 : A few seconds "format;

(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.

(5) MEM View the current memory status command

1 Function: Show the current memory usage

2 Type: External Command

3 format: MEM [/ C] [/ f] [/ m] [/ P]

4 Instructions for use:

(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;

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

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

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

(6) MSD display system information command

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

2 Type: External Command

3 format: MSD [/ i] [/ b] [/ s]

4 Instructions for use:

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

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

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

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

New Post(0)