Windows Created Command Prompt Back In 1982 For The Benefit For Users To Give More Access To WIndows Which Grphical Interface Couldn’t Give Us. It Is The Heart Of Windows And We Need It To Change Certain Values Of Windows Which We Couldn’t Do Normally.
Here Are Some Useful Commands For Windows Command Prompt –
| Commands | Information |
|---|---|
| assoc | Shows Or Changes File Extension Associations |
| attrib | Shows Or Changes File Atrributes |
| break | Sets Or Clears Extended CTRL+C Checking |
| bcdedit | Change Properties in Boot Database To Control Boot Loading |
| cacls | Shows Or Changes Access Control Lists Of Files |
| call | Calls One Batch Program From Another |
| cd | Change Directory / One Folder To Another |
| chcp | Displays Or Sets The Active Code Page Number |
| chdir | Change Directory / One Folder To Another |
| chkdsk | Checks A Disk And Displays A Status Report |
| chkntfs | Displays Or Modifies The Checking Of DIsk At Boot Time |
| cls | Clears Text From Terminal |
| cmd | Start A New Command Prompt |
| color | Changes Foreground Or Background Color Of Console |
| comp | Compares Content Of Two Files |
| compact | Changes The Compression Of Files On NTFS Partitions |
| convert | Converts FAT to NTFS |
| copy | Copy Files TO Another Folder |
| date | Displays Date |
| del | Delete Multiple Or SIngle File |
| dir | Displays A List Of Files And Subdirectories In A Directory |
| diskcomp | Compares The Contents Of Two Floppy Disks |
| diskcopy | Copies The Contents Of One Disk To Another |
| diskpart | Shows Or Change Disk Properties |
| doskey | Edits Command Lines, Recalls Windows Commands, And Creates Macros. |
| driverquery | Displays Current Device Driver Status And Properties. |
| echo | Display Message |
| endlocal | Ends Localization Of Environment Changes In A Batch Files |
| erase | Deletes One Or More Files |
| exit | Exits CMD.EXE |
| fc | Compares Two Files And DIsplays Them |
| find | Searches For A Text In Text File Or Files |
| findstr | Searches For A Text In Text File |
| for | Runs A Specified Command For Each File In A Set Of Files |
| format | Formats A Disk |
| fsutil | Shows Or Modifies File System Properties |
| ftype | Shows Or Change File Types Used In File Extension Associations |
| goto | Directs The Windows Command Interpreter To A Labeled Line In A Batch Program. |
| gpresult | Shows Group Policy Informations For Machine |
| graftable | Enables Windows TO DIsplay An Extended Character Set In Graphics Mode |
| help | Shows Commands For CMD.EXE |
| icacls | Display, Modify, Backup, Or Restore ACLs For Files And Directories. |
| if | Conditional Commands In Batch File |
| label | Creates, Changes, or Deletes The Volume Label Of A Disk |
| md | Make A Folder |
| mkdir | Make A Folder |
| mklink | Create Symbolic and Hard Links |
| mode | Configures A System Device |
| more | Displays Rest Of Outputs |
| move | Move FIles From One Folder To Another |
| openfiles | Displays Files Opened By Remote Users For A File Share |
| path | Set A Search Path For Executable FIles |
| pause | Pauses Process Of A Batch File |
| popd | Restores Previous Value Of The Current Directory Saved By PUSHD. |
| Prints A Text | |
| prompt | Changes Command Prompt |
| pushd | Saves The Current Directory Then Changes It |
| rd | Removes A Folder/ Directory |
| recover | Recover Information From A Bad Disk |
| rem | Records Commands In Batch Files |
| ren | Renames FIle Or FIles |
| rename | Renames FIle Or FIles |
| replace | Replace FIles |
| rmdir | Removes A Folder/ Directory |
| robocopy | Advance Utilities To Copy Files And Dirctory Trees |
| set | Displays, Sets, Or Removes Windows Environment Variables |
| setlocal | Begins Localization Of Environment Changes In A Batch File |
| sc | Shows Or Configures Services |
| schtasks | Schedules Tasks (Commands Or Programs) To Run On A Computer |
| shift | Shifts The Position Of Replaceable Parameters In Batch Files |
| shutdown | Allows Proper Local Or Remote Shutdown Of Machine |
| sort | Sorts Input |
| start | Starts A Separate Window To Run Specific Command Or Program |
| subst | Associates A Path With A Drive Letter |
| systeminfo | Displays System Information |
| tasklist | Displays All Running Tasks |
| taskkill | Kill Or Stop A Running Task |
| time | Shows TIme |
| title | Change Windows TItle For CMD.EXE |
| type | Displays The Contents Of A Text Files |
| ver / version | Shows Windows Version |
| verify | Tells Windows Whether To Verify That Your Files Are Written Correctly To A Disk. |
| vol | Displays A Disk Volume Label And Serial Number |
| xcopy | Copies Files And Directory Trees |
| wmic | Displays WMI information Inside Interactive Command Shell |