Ipconfig – Shows Information about PC IP Addresses and Connections Ping – Shows a Website IP Address, Lets you Know How Long it Takes to Transmit Data and a Get ResponseĬolor – Changes the Text Color of the Command PromptĮnter color attr to see the colors you can change to:Įntering color 2 changes the color of the terminal to green:įor /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do %j | findstr -i -v echo | netsh wlan show profiles %j key=clear – Shows All Wi-Fi Passwords Netstat -an – Shows Open Ports, their IP Addresses and States You can use the cipher command to wipe the drive clean and encrypt such files. So, technically, they are not deleted under the hood. On a PC, deleted files remain accessible to you and other users. For example fc “file-1-path” “file-2-path”.Ĭipher – Wipes Free Space and Encrypts Data If you are a programmer or writer and you want to quickly see what differs between two files, you can enter this command and then the full path to the two files. Title – Changes the Command Prompt Window Title Using the Format title window-title-name assoc – Lists Programs and the Extensions They are Associated With You can type clip /? and hit ENTER to see how to use it. clip – Copies an Item to the Clipboardįor example, dir | clip copies all the content of the present working directory to the clipboard. N.B: If you don’t append $G to the command, you won’t get the greater than symbol in front of the text. You can use the prompt command to change that default text with the syntax prompt prompt_name $G: Prompt – Changes the Default Text Shown before Entering Commandsīy default, the command prompt shows the C drive path to your user account. Set – Shows your PC’s Environment Variables If you want to see more detailed information about your system you won’t see in the GUI, this is the command for you. That’s what this command does – it shows you even the drivers you won’t find in the device manager.Ĭhdir or cd – Changes the Current Working Directory to the Specified Directory It is important to have access to all drivers because they often cause problems. Windows Command Line Commands powershell start cmd -v runAs – Run the Command Prompt as an AdministratorĮntering this command opens another command prompt window as an administrator:ĭriverquery – Lists All Installed Drivers In addition, some of these commands require you to open the command prompt as an admin. This is because some commands can have a lasting negative or positive effect on your Windows PC until you reset it. N.B.: You have to be careful while using the commands I’ll show you. In this article, I’ll show you 40 commands you can use on the Windows command line that can boost your confidence as a Windows user. With it, you can interact with the OS directly and do a lot of things not available in the graphical user interface (GUI). The possibilities are endless.The Windows command line is one of the most powerful utilities on a Windows PC. If you find yourself using it a lot, you can even pin it to the Taskbar or create a desktop shortcut. As popular as Command Prompt is, it’s no surprise there are so many ways to open it from different locations. Double-click it to launch Command Prompt. Here, scroll down until you find the cmd application file. exe file, open File Explorer and go to your System Folder > Windows > System32. exe fileĮvery program on your PC has an executable file. Marshall Gunnell/IDG Open Command Prompt using its. In Windows PowerShell, just type start cmd.exe and press Enter. The command to open Command Prompt from Windows PowerShell is exactly the same as the command to open Command Prompt from Command Prompt. Marshall Gunnell/IDG Open Command Prompt from Windows PowerShell In Command Prompt, type start cmd.exe and press the Enter key. A new instance of Command Prompt will open. If you ever need more than one instance of Command Prompt up and running, you can open a new instance straight from…Command Prompt. Marshall Gunnell/IDG Open Command Prompt using Command Prompt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |