Windows 7 command prompt commands




















Chkdsk — The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors. Chkntfs — The chkntfs command is used to configure or display the checking of the disk drive during the Windows boot process.

Choice — The choice command is used within a script or batch program to provide a list of choices and return of the value of that choice to the program. Cipher — The cipher command shows or changes the encryption status of files and folders on NTFS partitions. Clip — The clip command is used to redirect the output from any command to the clipboard in Windows. Cmdkey — The cmdkey command is used to show, create, and remove stored user names and passwords.

Color — The color command is used to change the colors of the text and background within the Command Prompt window. Compact — The compact command is used to show or change the compression state of files and directories on NTFS partitions. Copy — The copy command does simply that — it copies one or more files from one location to another.

Debug — The debug command starts Debug, a command line application used to test and edit programs. Defrag — The defrag command is used to defragment a drive you specify. Del — The del command is used to delete one or more files. The del command is the same as the erase command. Dir — The dir command is used to display a list of files and folders contained inside the folder that you are currently working in.

Diskcopy — The diskcopy command is used to copy the entire contents of one floppy disk to another. Diskpart — The diskpart command is used to create, manage, and delete hard drive partitions. Dispdiag — The dispdiag command is used to output a log of information about the display system. Doskey — The doskey command is used to edit command lines, create macros, and recall previously entered commands.

Echo — The echo command is used to show messages, most commonly from within script or batch files. The echo command can also be used to turn the echoing feature on or off. Edlin — The edlin command starts the Edlin tool which is used to create and modify text files from the command line.

Endlocal — The endlocal command is used to end the localization of environment changes inside a batch or script file. Erase — The erase command is used to delete one or more files.

The erase command is the same as the del command. Exe2bin — The exe2bin command is used to convert a file of the EXE file type executable file to a binary file.

Expand — The expand command is used to extract a single file or a group of files from a compressed file. Fc — The fc command is used to compare two individual or sets of files and then show the differences between them.

Find — The find command is used to search for a specified text string in one or more files. Diskcomp — The diskcomp command is used to compare the contents of two floppy disks. Diskcopy — The diskcopy command is used to copy the entire contents of one floppy disk to another. Diskpart — The diskpart command is used to create, manage, and delete hard drive partitions.

Dispdiag — The dispdiag command is used to output a log of information about the display system. Doskey — The doskey command is used to edit command lines, create macros, and recall previously entered commands. Driverquery — The driverquery command is used to show a list of all installed drivers.

Echo — The echo command is used to show messages, most commonly from within script or batch files. The echo command can also be used to turn the echoing feature on or off. Edlin — The edlin command starts the Edlin tool which is used to create and modify text files from the command line. Endlocal — The endlocal command is used to end the localization of environment changes inside a batch or script file.

Erase — The erase command is used to delete one or more files. The erase command is the same as the del command. Eventcreate — The eventcreate command is used to create a custom event in an event log.

Exe2bin — The exe2bin command is used to convert a file of the EXE file type executable file to a binary file. Expand — The expand command is used to extract a single file or a group of files from a compressed file. Fc — The fc command is used to compare two individual or sets of files and then show the differences between them. Find — The find command is used to search for a specified text string in one or more files. Findstr — The findstr command is used to find text string patterns in one or more files.

For — The for command is used to run a specified command for each file in a set of files. The for command is most often used within a batch or script file. Forfiles — The forfiles command selects one or more files to execute a specified command on. The forfiles command is most often used within a batch or script file. Format — The format command is used to format a drive in the file system that you specify. Fsutil — The fsutil command is used to perform various FAT and NTFS file system tasks like managing reparse points and sparse files, dismounting a volume, and extending a volume.

Ftp — The ftp command can used to transfer files to and from another computer. The remote computer must be operating as an FTP server. Ftype — The ftype command is used to define a default program to open a specified file type. Getmac — The getmac command is used to display the media access control MAC address of all the network controllers on a system.

Goto — The goto command is used in a batch or script file to direct the command process to a labeled line in the script. Graftabl — The graftabl command is used to enable the ability of Windows to display an extended character set in graphics mode.

Help — The help command provides more detailed information on any of the other Command Prompt commands. Icacls — The icacls command is used to display or change access control lists of files.

The icacls command is an updated version of the cacls command. The ipconfig command can also be used to release and renew IP addresses on systems configured to receive them via a DHCP server. Loadfix — The loadfix command is used to load the specified program in the first 64K of memory and then runs the program. Lodctr — The lodctr command is used to update registry values related to performance counters.

The logman command also supports many functions of Performance Monitor. Mem — The mem command shows information about used and free memory areas and programs that are currently loaded into memory in the MS-DOS subsystem.

Mmc — The mmc command can be used to open Microsoft Management Console in author mode or to a specific snap-in console, all from the Command Prompt. More — The more command is used to display the information contained in a text file.

The more command can also be used to paginate the results of any other Command Prompt command. Mountvol — The mountvol command is used to display, create, or remove volume mount points. Move — The move command is used to move one or files from one folder to another. The move command is also used to rename directories. Msiexec — The msiexec command is used to start Windows Installer, a tool used to install and configure software.

Openfiles — Queries, displays, or disconnects open files or files opened by network users. Verify — Tells Windows whether to verify that your files are written correctly to a disk.

You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account. It will add the option in the menu for "Open command window here". Regulator Reviews, check out netstat with the switch ano as well -- i. Then check out iana. Thanks for the comments. Super simple list to warm people up to the cmd line.

Glad you stopped by -- J. These are great. Thanks psdwpintegration. It is meant as a "starter", realistic everyday uses of the cmd prompt. Glad you like it : , thanks for stopping by. Good Starter List. I have been troubleshooting computers for 15 years and still use those commands almost daily. If you are a command line geek like myself, you will love my article about Windows Scripting Host and AutoIt. Excellent tips! I knew of a few of them, but I'm definitely going to be giving the others a try!

Personal Finance. Vlogging On Twitter. Licorice or Scythian Root in the Process of Globalization. Related Articles. By Noel Penaflor. By Lady Dazy. By Bri Smith. By Hugo Totty. Team Sports. By Paul Richard Kuehn. By Kaditya. By Linda Sue Grimes. Life Sciences.



0コメント

  • 1000 / 1000