We can use Windows Operating system in two ways GUI(Graphical User Interface) and CUI(Command User Interface). To have some depth knowledge about Windows you must know commands present in it. In this post I will few basic commands for newbies 🙂
What is Command Prompt?
A command prompt is a non-graphical interface that allows you to interact with your operating system. At the command prompt, you enter commands by typing their names followed by options and arguments. Most modern computers use a graphical user interface (GUI), which allows users to more intuitively access programs and documents. However, some programs and commands are still only available only through a command prompt.
How To Access Command Prompt?
Goto Start –> Run and type CMD and hit Enter.
Press Windows Key+R this will launch Run dialog box. Type, CMD and hit Enter. Then type the following commands. 😛
List of 40 Basic Command Prompt Commands
- APPEND : Used by programs to open files in another directory as if they were located in the current directory.
- ARP : The arp command is used to display or change entries in the ARP cache.
- ASSOC :The assoc command is used to display or change the file type associated with a particular file extension.
- AT: The at command is used to schedule commands and other programs to run at a specific date and time.
- ATTRIB : The attrib command is used to change the attributes of a single file or a directory.
- AUDITPOL : The auditpol command is used to display or change audit policies.
- BCDBOOT : The bcdboot command is used to copy boot files to the system partition and to create a new system BCD store.
- BCDEDIT: The bcdedit command is used to view or make changes to Boot Configuration Data.
- BDEHDCFG : The bdehdcfg command is used to prepare a hard drive for BitLocker Drive Encryption.
- BITSADMIN : The bitsadmin command is used to create, manage, and monitor download and upload jobs.
- BOOTCFG : The bootcfg command is used to build, modify, or view the contents of the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located.
- BREAK : The break command sets or clears extended CTRL+C checking on DOS systems.The break command is available in Windows 7 to provide compatibility with MS-DOS files but it has no effect in Windows 7 itself.
- CACLS : The cacls command is used to display or change access control lists of files.
- CALL : The call command is used to run a script or batch program from within another script or batch program.The call command has no effect outside of a script or batch file. In other words, running the call command at the Command Prompt will do nothing.
- CD : The Cd command is the shorthand version of the chdir command.
- CERTREQ : The certreq command is used to perform various certification authority (CA) certificate functions.
- CERTUTIL : The certutil command is used to dump and display certification authority (CA) configuration information in addition to other CA functions.
- CHANGE : The change command changes various terminal server settings like install modes, COM port mappings, and logons.
- CHCP :The chcp command displays or configures the active code page number.
- CHDIR : The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in.
- CHGLOGON : The chglogon command enables, disables, or drains terminal server session logins.Executing the chglogon command is the same as executing change logon.
- CHGPORT : The chgport command can be used to display or change COM port mappings for DOS compatibility.Executing the chgport command is the same as executing change port.
- CHGUSR : The chgusr command is used to change the install mode for the terminal server.Executing the chgusr command is the same as executing change user.
- 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.
- CLS : The cls command clears the screen of all previously entered commands and other text.
- CMD : The cmd command starts a new instance of the command interpreter.
- CMDKEY : The cmdkey command is used to show, create, and remove stored user names and passwords.
- CMSTP : The cmstp command installs or uninstalls a Connection Manager service profile.
- COLOR : The color command is used to change the colors of the text and background within the Command Prompt window.
- COMMAND : The command command starts a new instance of the command.com command interpreter.
- COMP : The comp command is used to compare the contents of two files or sets of files.
- COMPACT : The compact command is used to show or change the compression state of files and directories on NTFS partitions.
- CONVERT : The convert command is used to convert FAT or FAT32 formatted volumes to the NTFS format.
- COPY : The copy command does simply that – it copies one or more files from one location to another.
- CSCRIPT : The cscript command is used to execute scripts via Microsoft Script Host.The cscript command is most commonly used to manage printing from the command line with scripts like prncnfg.vbs, prndrvr.vbs, prnmngr.vbs, and others.
5 Useful Command Prompt Tip & Tricks
- 5 Useful Command Prompt Tricks For Easy Operation
- How To Change The Title Bar Caption Of The Command Prompt
- [FIX]How To Enable Command Prompt
- Transparent/Glass Command Prompt For Xp And Vista
- Trick To Hide Text In Notepad
Play with your Windows using these Command list. 😉