Sunday, July 25, 2021

Most Essential CMD Commands of Windows PC

Windows CMD Commands


The Command Prompt is your gateway to advanced Windows tools. Here are all the essential CMD commands in a cheat sheet. The Windows Command Prompt may seem daunting, with its simple interface that lacks the usual Windows help tips, but it's actually one of the most powerful instruments in the Windows arsenal.

The Command Prompt on Windows 10 is useful for everything from complex automation to network configuration. What it lacks in interface it more than makes up for in effectiveness. If you don't know where to start with command prompt proficiency, what better place than to start here!

While most seek the best and most useful commands immediately, it helps to gloss over what different parameters mean. Proficiency with your Command Prompt comes not only through having a lexicon of commands, but of understanding what each parameter means and how different parameters can be combined to achieve a desired effect as well. 

The following is a comprehensive list of the most essential Windows commands.

Essential Windows Command Prompt Commands

COMMANDRESULT
ASSOCDisplays or modifies file extension associations.
ATTRIBDisplays or changes file attributes.
BREAKSets or clears extended CTRL+C checking.
BCDBOOTUsed to copy critical files to the system partition and to create a new system BCD store.
BCDEDITSets properties in boot database to control boot loading.
CACLSShows or changes access control lists (ACLs) of files.
CALLCalls a batch program from another.
CDShows the name of or changes to a current directory.
CHCPDisplays or sets the active code page number.
CHDIRDisplays the name of or changes to the current directory.
CHKDSKChecks a disk and displays a status report.
CHKNTFSDisplays or modifies the checking of disk at boot time.
CHOICEBatch file command that allows users to select from a set of options.
CIPHERDisplays or alters the encryption of directories (files) on NTFS partitions.
CLIPRedirects output off another command to the Windows clipboard.
CLSClears the screen.
CMDStarts a new instance of the Windows command interpreter.
CMDKEYCreates, lists, and deletes stored usernames and passwords or credentials.
COLORSets the default console colors.
COMPCompares the contents of two files or sets of files byte by byte
COMPACTDisplays or alters the compression of files on NTSF partitions.
CONVERTConverts FAT volumes to NTFS. You cannot convert the current drive.
COPYCopies one of more files to another location.
DATEDisplays or sets the date.
DEFRAGDisk defragment accessory.
DELDeletes one or more files.
DIRDisplays a list of files and sub-directories in a directory.
DISKCOMPCompares the contents of two floppy disks.
DISKCOPYCopies the contents of one floppy disk to another.
DISKPARTDisplays or configures Disk Partition properties.
DOSKEYEdits command lines, recalls Windows commands, and creates macros.
DRIVERQUERYDisplays current device driver status and properties.
ECHODisplays messages, or turns commands echoing on or off.
ENDLOCALEnds localization of environment changes in a batch file.
ERASEDeletes one of more files.
EXITQuits and closes the command shell.
EXPANDExpands compressed files.
FCCompares two files or sets of files and displays the differences between them.
FINDSearches for a text string in a file or files.
FINDSTRSearches for strings in files.
FORRuns a specified command for each item in a set.
FORFILESSelects files in a folder for batch processing.
FORMATFormats a disc for use with Windows.
FSUTILDisplays or configures the file system properties.
FTYPEDisplays or modifies file types used in file extensions associations.
GOTODirects the Windows command interpreter to a labeled line in a batch program.
GPRESULTDisplays Group Policy Information for machine or user.
GRAFTABLEnables Windows to display an extended character set in graphics mode.
HELPProvides help information for Windows commands.
ICACLSDisplay, modify, backup, or restore ACLs for files and directories.
IFPerforms conditional processing in batch programs.
IPCONFIGDisplays all current TCP/IP network configuration values.
LABELCreates, changes, or deletes the volume label of a disk.
MDCreates a directory.
MKDIRCreates a directory.
MKLINKCreates Symbolic Links and Hard Links.
MODEConfigures a system device.
MOREDisplays output one screen at a time.
MOVEMoves one or more files from one directory to another directory.
OPENFILESQueries, displays, or disconnects open files or files opened by network users.
PATHDisplays or sets a search path for executable files.
PAUSESuspends processing of a batch file.
POPDRestores the previous value of the current directory saved by PUSHD.
PRINTPrints a text file.
PROMPTChanges the Windows command prompt.
PUSHDSaves the current directory then changes it.
RDRemoves a directory.
RECOVERRecovers readable information from a bad or defective disk.
REMDesignates comments (remarks) in batch files.
RENRenames a file or files.
RENAMERenames a file or files.
REPLACEReplaces files.
RMDIRRemoves a directory.
ROBOCOPYAdvanced utility to copy files and directory trees.
SETDisplays, sets, or removes environment variables for current session.
SETLOCALBegins localization of environment changes in a batch file.
SETXSets environment variables.
SCDisplays or configures services (background processes).
SCHTASKSSchedules commands and programs to run on a computer.
SHIFTShifts the position of replaceable parameters in batch files.
SHUTDOWNAllows proper local or remote shutdown of machine.
SORTSorts input.
STARTStarts a separate window to run a specified programs or command.
SUBSTAssociates a path with a drive letter.
SYSTEMINFODisplays machine specific properties and configuration.
TAKEOWNAllows an administrator to take ownership of a file.
TASKLISTDisplays all currently running tasks including services.
TASKKILLKill running process or applications.
TIMEDisplays or sets the system time.
TIMEOUTPauses the command processor for the specified number of seconds.
TITLESets the window title for a CMD.EXE session.
TREEGraphically displays the directory structure of a drove or path.
TYPEDisplays the contents of a text file.
VERDisplays the Windows version.
VERIFYTells Windows whether or verify that your files are written correctly to a disk.
VOLDisplays a disk volume label and serial number.
VSSADMINVolume Shadow Copy Service administration tool.
WHEREDisplays the locations of files that match a search pattern.
WMICDisplays WMI information inside interactive command shell.
XCOPYCopies files and directory trees.

Dive Deeper With the Windows Command Prompt:

You'll never be able to remember all the commands that you can use on the Windows Command Prompt, but keep this cheat sheet handy and you'll always have them at your fingertips. Of course, this only scratches the surface of the Command Prompt. There are other commands you can learn, or you can chain them together for ultimate efficiency. cmd commands command prompt windows 10 command prompt commands shutdown cmd windows command prompt windows 10 activator cmd command prompt codes windows shutdown command ms dos commands telnet cmd windows cmd windows command line command prompt change directory cmd commands windows 10 windows cmd commands net user administrator cmd delete file cmd windows 10 run cmd as administrator cmd list files windows 10 cmd activation diskpart create partition windows 10 activation cmd device manager cmd cmd admin cmd commands list windows commands windows command command prompt commands list cmd kill process copy cmd cmd dir list disk cmd cmd prompt cmd file cmd does not support unc paths as current directories command prompt windows 7 cmd diskpart cmd change disk cmd scannow windows command processor run cmd run command prompt as admin command prompt commands windows 10 cool cmd commands control panel cmd run cmd as admin
Stay with TecHie-ASiF for more IT related post

No comments:

Post a Comment