The Windows console is the equivalent to the Linux terminal or the one provided by other operating systems such as macOS. The application runs in text mode and is not as intuitive as a typical graphical user interface. However, it is still a recommended option for advanced or professional users who need to perform tasks more flexibly and quickly.
This command-line tool shows its power to execute repetitive tasks, sometimes where the graphical interface is blocked, to manage certain components or access certain system information that is not available in any other way.
Windows console access
Access to the Windows command line is offered in two different modes, user and administrator. The first limited and the second most powerful and with access to the entire team. In addition, Microsoft offers a more advanced variant called PowerShell that is intended for system administrators.
To start it up, you can type “command prompt” from the general search box in Windows 7 or 8.1 or use the Cortana wizard in Windows 10 both by keyboard and with voice commands. Another of the fastest ways is to access from the command prompt from the run window (Windows + R to open it) and type “cmd.” Also, from the browser accessing the executable “cmd.exe” in the path C: \ Windows \ System32 or in Windows 8.1 and Windows 10, using the user menu accessible with the combination of Windows + X keys or by pressing the right button of the Mouse over the start button.
Windows console: use and main commands
Once inside we will find a text interface that users who have been in this for a long time will be reminded of MS-DOS, although it is not the DOS-based operating system nor is it a part of the Windows system, but an application, which We can customize in design, colors or fonts by accessing its properties by a secondary click on the CMD framework.
This command-line allows us to communicate directly with the team and perform a series of tasks. Its operation is simple, as well as powerful. We write the command and the CMD application acts as an interpreter for its execution. The use of modifiers for each of the commands allows hundreds of combinations to be executed for a wide variety of tasks. Some of the most important commands are:
Help . A good way to start is with the “help” command that will show us a list of all available commands. “Help + command name” will show us information about a specific command while “Command name + /?” Will show us all the modifiers and possibilities of the command.
Assoc. Most Windows files are associated with a specific program assigned to open the default file. This command shows or modifies the associations of file extensions.
Chkdsk. Check the status of a hard disk/partition / volume and display a status report. Fix disk errors or find damaged sectors and retrieve information.
Driverquery. Device drivers are among the most important software installed on the PC. Its elimination or bad installation is a constant source of problems. This command lists all that you have on the machine, its name, driver type, link date, or directory where it is installed.
Powercfg. Powerful command for the energy management of the team. Energy-saving, suspension, or hibernation states. Create a detailed report of the power consumption on a PC that allows knowing a fault for this reason. Windows 8 has added a modifier that provides a detailed analysis of a laptop’s battery usage, capacity, charge status of recharge cycles.
Shutdown. Shut down, restart, or hibernate the local computer. It has a lot of modifiers to plan the shutdown or restart in time, a session closure in addition to forcing the shutdown of applications. It is also used to document an unexpected system shutdown.
Sfc. Examine the integrity of all protected system files and replace the wrong versions with the correct ones from Microsoft. The command verifies damaged or missing files, automatically replacing them using cached copies of the system.
Systeminfo . Displays operating system configuration information for a local or remote computer, including service pack levels. It informs of the installed processor, the physical and virtual RAM used and available, the BIOS, the manufacturer of the motherboard, as well as the version of the operating system used and all the installed updates.