Enhanced DOS Commands in WinXP

  
Enhanced DOS Commands in WinXP


◆Command: DIR, Column File, Directory

Add Parameters: /-C
Parameter Description: DIR The size of the file displayed when the file or directory is listed. Its value is separated by thousands. Using this parameter, “DIR/-C” will cancel the separator in the display to meet the visual habits of some people.

Add parameters: /Q
Parameter Description: Windows is a multi-user operating system. When this parameter is used as the "DIR /Q" column file or directory, the user attributes of the file and directory will be displayed.

Add parameters: /T:C, /T:A, /T:W
Parameter Description: Use this parameter is "DIR/T:C", "DIR/T:A", " DIR/T:W" displays the file creation time, the last access time, and the last modification time.

Add parameters: /X
Parameter Description: When using this parameter, ie "DIR/X" column file, directory, the file name of "8.3" format will be displayed at the same time for long file name.

◆Command: CD, change directory

Add parameters: /D
Parameter Description: The role of this parameter is to quickly change the current directory, such as the current directory is C: \\ Windows, use The command "CD/DE:\\Tools" can be quickly switched to the E:\\Tools directory. Note: This parameter can only be used in the DOS window obtained by entering "CMD" in the "Run" text box of Win XP.

◆ command: MD, create a directory

Function: This command parameters did not increase, but enhanced functionality, it can build a multi-level subdirectory, for example, use the command "MD AA \\ BB\\CC\\DD will create AA, BB, CC, DD four subdirectories at a time. In the old version of DOS, if there is no AA subdirectory, it is impossible to directly create a deep subdirectory such as BB under AA.

◆Command: RD, delete directory

Add parameters: /S
Parameter Description: Use this parameter, that is, "RD/S" is used to delete the directory tree, that is, delete the directory and directory All subdirectories and files below, equivalent to the DELTREE command in previous versions.

Add parameters: /Q
Parameter Description: When using the above /S parameter to delete the directory tree, the system will ask the user to confirm whether it is really necessary to delete. If the /Q parameter is "RD/S /Q" at the same time, the confirmation will be canceled when the delete operation is performed, which is equivalent to the /Y parameter of the DELTREE command.

◆Command: DEL, delete files or directories

Add parameters: /F
Parameter Description: Use this parameter, ie "DEL/F", to delete read-only files.

Add parameters: /S, /Q
Parameter Description: Use this parameter, that is, "DEL/S" works exactly the same as "RD/S", that is, delete all subdirectories under the directory and directory and file. Using the parameter /Q at the same time cancels the system confirmation when the delete operation is performed.

Add parameters: /A
Parameter Description: Delete the specified attribute or file other than the specified attribute, /AR, /AH, /AS, /AA respectively delete the read-only, hidden, system, archive file , /AR, /AH, /AS, /AA means to delete files other than read-only, hidden, system, archive. For example, "DEL/AR *.*" means to delete all read-only files in the current directory, and "DEL/A-S *.*" means to delete all files except the system files in the current directory.

◆ command: property

ATTRIB, change the file or directory to increase parameters: /D
Parameter Description: In Win XP, we can not file or folder is set to system properties, Can only be set to read-only, hidden, or archive properties. With the parameter /D use the ATTRIB command to set all the properties of the file, the settings must be used with the parameter /S. For example, "ATTRIB /S /D +S D:\\Study", the role is to set the D:\\Study folder to the system folder. ◆

command: the Format, format the disk increases

parameters: /FS: filessystem
Parameters: Type specified file system (FAT, FAT32, NTFS) formatted disk, e.g. "Format /FS:NTFS".

◆Command: DATE, TIME, display system date and time

Add parameters: /T
Parameter Description: Use this parameter is "DATE/T", "TIME/T" It will only display the current date and time, without having to enter a new hard drive to change the date and

xp system format

xp system hard disk format is fta32, and want to become ntfs format

Click the Win+R shortcut key to open the Run dialog box, then enter the command "Convert X: /fs:ntfs" (where X is the disk partition that the user needs to convert to NTFS format) in the "Open" field, the system will Automatically convert the user-specified disk partition to NTFS format and keep all the original data in the disk partition.
Copyright © Windows knowledge All Rights Reserved