Complete DOS Command (iii) _dos/bat

Source: Internet
Author: User
Tags memory usage

(vi) attrib--modify file Properties command

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

2. Type: External command.

3. Format: attrib[filename][r][--r][a][--a][h][--h][s][--s][/s]

4. Instructions for use:

(1) Choose the R parameter, set the specified file as read-only property, make the file read only, cannot write data or delete, select--r parameter, remove read-only attribute;

(2) Selecting a parameter, setting the file as the file attribute, selecting the--a parameter and removing file attribute;

(3) Choosing the H parameter, co-ordination the file as the implied attribute, selecting the--h parameter to suppress the attribute;

(4) Selecting the s parameter, setting the file as the system attribute, selecting the--s parameter and removing the system attribute;

(5) Select/s parameter, all subdirectories under the current directory and make the settings.

(vii) del--Delete File command

1. Function: Deletes the specified file.

2. Type: Internal command

3. Format: del[Letter: [path]〈 filename 〉[/p]

4. Instructions for use:

(1) using the/p parameter, the system asks if it really wants to delete the file before deleting it, and automatically deletes it if you do not use this parameter.

(2) The command cannot delete a file with an implied or read-only attribute;

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

(4) To delete all files on the disk (del* * or del), you will be prompted: (Arey ou sure? ) (Are you sure?) If you answer y, delete and answer N, cancel the deletion job.

(eight) undelete--restore Delete command

1. Function: Restore mistakenly delete command

2. Type: External command.

3. Format: undelete[Letter: [pathname]〈 filename 〉[/dos]/list][/all]

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

(1) Select the/dos parameter to restore the file according to the records in the catalogue. As the file is deleted, the name of the first character in the directory will be changed to E5,dos that is, according to the beginning of the file E5 and its subsequent characters to find the file to recover, so undelete will require the user to enter a character, so that the file name. But this character does not have to be the same as the original, just meet the DOS file name rules.

(2) Select/list only "list" to meet the specified conditions of the file without recovery, so there is no impact on the contents of the disk.

(3) Select/ALL to automatically restore fully recovered files, instead of asking the user, when using this parameter, if undelte use the records in the directory to restore the file, it will automatically select a character to be filled with the file name, and make it not the same as the existing file name, select the order of preference characters: #% --0000123456789a~z.

Undelete also has the ability to establish file protection, beyond the scope of this course, and ask readers to consult the DOS manual when using some features.

Vii. Other Orders


(a) cls--screen command

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

2 Type: Internal command

3 format: CLS


(ii) Ver View system version number command

1 Features: Displays the current system version number

2 Type: Internal command

3 format: VER


(iii) Data date Setup command

1 function: Set or display the system date.

2 Type: Internal command

3 format: Date[mm--dd--yy]

4 Instructions for use:

(1) Omit [mm--dd--yy] Display system date and prompt to enter new date, do not modify can press ENTER directly, [MM--DD--YY] is "month month-day-year" format;

(2) When the machine starts, there is an automatic processing file (Autoexec.bat) is executed, the system is not prompted to enter the system date. Otherwise, you are prompted to enter a new date and time.

Four) time system clock Setup command

1 function: Set or display system period.

2 Type: Internal command

3 format: time[hh:mm:ss:xx]

4 Instructions for use:

(1) Omit [hh:mm:ss:xx], display system time and prompt to enter new time, do not modify can press ENTER directly, [HH:MM:SS:XX] is "hour: minute: Second: percent of seconds" format;

(2) When the machine starts, there is an automatic processing file (Autoexec.bat) is executed, the system is not prompted to enter the system date. Otherwise, you are prompted to enter a new date and time.


(v) Mem View current memory Status command

1 Features: Displays current memory usage

2 Type: External command

3 format: mem[/c][/f][/m][/p]

4 Instructions for use:

(1) Select/C parameter lists the length of the files loaded in conventional memory and CMB, and also shows the use of memory space and the maximum available space;

(2) Select/F parameter lists the current normal memory remaining byte size and umb usable area and size;


(3) Select/m parameter to show the memory address, size and module nature of the module;

(4) Use the/p parameter to specify that when the output exceeds one screen, the user is paused for viewing.


(vi) MSD display System Information command

1 function: Display the system hardware and operating system condition.

2 Type: External command

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

4 Instructions for use:

(1) When I parameter is selected, the hardware is not detected;

(2) When using the/b parameter, start MSD in black and white mode;

(3) Select/s parameter, Display concise system report.

How to install XP under DOS


Description: Dos install XP is not preferred, I usually start the CD-ROM installation. This is written because there are a lot of netizens want to know.

If you want to paste, please specify from the smell road Changan. Ah ah:)

1. Preparation: Make 98 Startup disk (this is not taught?) )。 Then locate the FORMAT.EXE and SMARTDRV.EXE two files in the C:\Windows directory of WIN98 and copy them to the boot disk.

2. Set the BIOS to floppy boot (how do I set it?) Aggravation )。

3. Reboot with 98 boot disk to DOS (note to load the CD-ROM boot).

4. At the command prompt, type:
A:\>format c:/u/q (if you also want to have a DOS presence, then format c:/q/u/s) enter
A:\>smartdrv. EXE carriage return (no prompts appear after running, but it is already running)
A:\>x: (Go to XP installer disk)
X:\>CD i386 (enter directory)
X:\i386>winnt.exe (Start Setup)

Well, you can rest--I can also rest, typing really tired.
This is the cleanest installation of XP.

Attention:
1.x represents the disc or hard disk installation disk. Sometimes it is difficult to move a bit later, such as Disc E, move an F.
2. The prerequisite is that the system disk is not NTFS format (otherwise it is not called DOS installed).
3. Hard disk installation, if the installation files are not in the root directory, such as folders, first enter the X:\>CD folder name (not in Chinese name, X for the hard disk letter).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.