Cmd common command summary

  

cmd is the abbreviation of command. It means the command line. If you know a little about the computer, you will find that as long as you master the cmd command, the general operation will be faster than others, and your understanding of the computer will be more and more profound. The following are some commonly used CMD commands compiled by Xiaobian. I hope to be useful for everyone's daily operations. For more information about a command, type the HELP command name ASSOC to display or modify the file extension association. AT commands and programs that are scheduled to run on a computer. ATTRIB displays or changes file attributes. BREAK Set or clear the extended CTRL+C check. CACLS Displays or modifies access control lists (ACLs) for files. CALL calls this one from another batch program. The CD displays the name of the current directory or changes it. CHCP Displays or sets the number of active code pages. CHDIR displays the name of the current directory or changes it. CHKDSK checks the disk and displays a status report. CHKNTFS displays or modifies boot time disk checks. CLS clears the screen. CMD opens another Windows command interpreter window. COLOR sets the default console foreground and background color. COMP compares the contents of two or two sets of files. COMPACT displays or changes the compression of files on an NTFS partition. CONVERT converts FAT volumes to NTFS. You cannot convert the current drive. COPY copies at least one file to another location. DATE displays or sets the date. DEL deletes at least one file. DIR displays files and subdirectories in a directory. DISKCOMP compares the contents of two floppy disks. DISKCOPY copies the contents of one floppy disk to another floppy disk. DOSKEY edits the command line, calls Windows commands, and creates macros. ECHO displays the message or turns the command back on or off. ENDLOCAL ends the localization of environment changes in the batch file. ERASE deletes at least one file. EXIT exits the CMD.EXE program (command interpreter). FC compares two or two sets of files and shows the differences. FIND searches for a text string in a file. FINDSTR searches for a string in a file. FOR runs a specific command for each file in a set of files. FORMAT formats the disk for use with Windows. FTYPE Displays or modifies the file type used for file extension associations. GOTO points the Windows command interpreter to a line indicated in the batch program. GRAFTABL Enables Windows to display extended character sets in image mode. HELP provides help information for Windows commands. The IF performs conditional processing in the batch program. LABEL creates, changes, or deletes a volume label for a disk. MD creates a directory. MKDIR creates a directory. MODE Configure system devices. MORE displays a result screen at a time. MOVE moves files from one directory to another. PATH displays or sets the search path for executable files. PAUSE pauses the processing of the batch file and displays the message. POPD Restores the previous value of the current directory saved by PUSHD. PRINT Prints a text file. PROMPT changes the Windows command prompt. PUSHD saves the current directory and then changes it. RD deletes the directory. RECOVER recovers readable information from the disk in question. REM records batch files or comments in CONFIG.SYS. REN renames the file. RENAME renames the file. REPLACE replaces the file. RMDIR deletes the directory.

Copyright © Windows knowledge All Rights Reserved