Unless you work as a systems engineer, it is difficult to have to deal today with the Windows command line.
The command line is the basic tool to perform tasks and commands without using the windows and folders without using the desktop writing on the keyboard in a black screen.
Even if it seems outdated and, in some ways it is, there are a few basic commands to run via the command prompt key that everyone should know and that is worth to fix in this article for future memory.
To access the command prompt, run CMD on Start -> Run, or, on Windows 8, accessed from the menu Windows-X (right-click on the lower left). Run the commands write in lowercase and press Sending.
1) CIPHER: – basic command Cipher has merited an article in this blog because of its importance. It is used to overwrite the free disk space in Windows so that the deleted files with the basket are no longer recoverable. To clean the drive C, for example, you use the command ” cipher / w: c “will wipe out all traces of files on the disk certainly keeping the files are not deleted.
2) DRIVERQUERY: – basic command driver query need to do the list of drivers for your computer with all the details. Write driver query-v -v driver query> list driver-txt save the list to a text file in the current folder.
3) SHUTDOWN: – Basic command command shutdown turn off your computer that you can do with the button without problems. The command is convenient instead shutdown / r / o, which restarts the computer and launch the Advanced Boot Options menu to access the safe mode and recovery utility.
4) SFC: -basic command stands for System File Checker, and serves to take control of the file system to correct errors of file not found or corrupt Run the SFC / scan now to detect corrupt or missing files and replace them with good file.
5) TASKLIST: – Basic command The task list command can be used as a task manager, to see an updated list of all the tasks running on your PC. Tasklist-svc shows the services for each activity, tasklist-V provides more details about each process and tasklist-m identifies the dll file with active processes. These commands are useful for the advanced troubleshooting or to track down malware manually.
6) TASKKILL: -Basic command Each process in the command tasklist can be interrupted and terminator with the command taskkill-im followed by the name of the executable file or taskkill-pid followed by the process ID number.
7) ASSOCL: – Basic command Assoc is the DOS command to view the file associations with programs. In fact, you can easily check how a certain type of file is opened if you double-click with the mouse. Run the command assoc .txt to see what program opens the txt file. Writing assoc .txt = you can change the program to use.
8) FC : – Basic command FC stands for File Compare and used to compare two text files to see if there are differences. This is particularly useful for writers and Programmers who try to find small changes between two versions of a file. Then, type fc and then the folder path and name of the two files to be compared. By adding the “/ s” to compare only the ASCII text. For example, we can write: fc / s “C: \ Program Files \ esempio1.doc” “C: \ Program Files \ esempioe2.doc”
9) IPCONFIG: – Basic command Ipconfig is the command to know where IP address is the network computer. If you use a router you will find the local network address of the router. ipconfig / release followed by ipconfig / renew commands are asking for a new IP address, which is useful for restoring the Internet . It is you can also use the ipconfig / flushdns command to update the DNS name resolution. ipconfig / all finally see all the network addresses of the computers.
10) NETSTAT: – Basic command Entering the command net stat-an you will get a list of network ports that are currently open with their addresses the IP address. This is a great command to try and solve the problems of malware or links to Internet software.
11) Ping: – basic command The ping command is used whenever you want to check if your computer is connected to the Internet or if you are unable to connect to a particular network device. Typically, you use the command ping www.google.it to check your Internet connection or ping the ip address of the router to see if there is a LAN connection.
12) Pathping: – basic command Pathping is a more advanced version of ping useful if there are multiple routers between your PC and the device under test.
13) TRACERT: – Basic command command tracert is similar to Pathping, you have to write tracert result IP address or domain to know all the steps do u package to get to that starting from our computer. Unlike Pathping, however, tracert also shows how much time passes (in milliseconds) between each step servers or devices.
14) POWERCFG: – Basic command Powercfg is a very powerful energy management. You can use the command ” powercfg / hibernate on “and powercfg / hibernate off to handle the hibernate mode and you can also use the command ” powercfg / a ” to see energy savings were available on the PC. Another useful command is powercfg / devicequery s1_supported who see a list of devices that can wake the computer from sleep. Powercfg / lastwake instead tells us what is the latest device that has wake the computer from a sleep state. The command powercfg / energy can be used to get a detailed report on the energy consumption of the PC. This report is useful to check for any system faults that may increase the power consumption. In Windows 8 You can also use the command powercfg / batteryreport to have a detailed analysis of the use of battery power in laptops.
15) RECIMG: – Basic command recimg stands for Recovery Image, and you can only run on Windows 8 to create a system image. Virtually all Windows 8 Computer / 8.1 already installed have already purchased a recovery image to do the reset but this might include unnecessary programs that would prefer not to have. Running recimg you get a list of options to use this command to create an image customized system. You must have administrator privileges to use the command recimg and can be accessed all’ imagine recovery created by the re-initialization of Windows 8. In this Microsoft guide explains how to use this command.