12 useful Command Prompt tips on Windows 10

Command Prompt is a Windows utility that lets you give system instructions. It can automate many tasks, handle problems, and perform all kinds of functions. The following article will share you with 12 useful Command Prompt mastering on Windows 10 , including changing colors, executing multiple commands, getting help with any command and more.

12 tips to master the Command Prompt

To open the Command Prompt, simply type cmd in the system search bar and open the relevant results. Alternatively, you can press Windows key + R , type cmd in the Run dialog box, and press Enter to launch the Command Prompt. Now let's start exploring the following 12 useful Command Prompt tips:

1. Always open as administrator

You can launch the Command Prompt in standard mode or administrator mode. Some commands will only work in the 2nd mode. So maybe you should use that mode often.

12 useful Command Prompt tips on Windows 10

To have a Command Prompt command that is always open as an administrator, you will need to use a keyboard shortcut. Enter cmd in the system search bar, right-click the result and select Send to> Desktop (create shortcut).

Then, right-click on the new shortcut and select Advanced , then place a checkmark in the Run as administrator . Finally, click OK twice and you're done.

2. Access via Windows key + X

If you press Windows key + X , you will launch a powerful user menu. It gives you quick access to things like Device Manager , Disk Managerment and Task Manager . It also lists the Command Prompt , but you can have Windows PowerShell instead.

12 useful Command Prompt tips on Windows 10

The process of converting this is very easy. To get started, press Windows key + I to open Settings. Navigate to Personalization> Taskbar . Set Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows logo key + X to Off . You should now see the Command Prompt in the list.

3. Open via the folder context menu

Before Windows 10 build 14986, pressing Shift + right-clicking inside a folder will provide the option to Open command window here . This will then open the Command Prompt with the path already set for the directory you specify.

12 useful Command Prompt tips on Windows 10

However, this has been replaced with Open PowerShell window here because Microsoft tries to move people away from the Command Prompt. Because Windows 10 has automatic and mandatory updates, you have no choice in this matter.

4. Copy and paste

If you want to copy any text, just press Ctrl + M to enter highlight mode. Right-click and drag to highlight the text you want and press Ctrl + C or Enter to copy it to your clipboard. You can press Esc at any time if you want to leave marker mode. To paste, press Ctrl + V .

12 useful Command Prompt tips on Windows 10

Think the process is too cumbersome? Right-click on the Command Prompt title bar > Properties . Switch to the Options tab and check QuickEdit Mode and click OK . Now you don't need to press any key before you can highlight text.

5. Use the arrow keys for the previous commands

If you have entered a previous command that you want to reuse, use the up and down arrow keys on your keyboard to move between them. This is handy if you keep executing the same commands or want to correct a mistake in what you have just sent.

12 useful Command Prompt tips on Windows 10

You can also use the right arrow key to enter the previous command character by character. This can be helpful if you need to enter many open commands at the same time. Alternatively, press the F7 key to see a list of your previous entries, use the up and down arrow keys to navigate, and press Enter to select or type doskey / history to export it in the Command Prompt.

6. Drag and drop files

It can be quite tedious to write down a directory or file path name in the Command Prompt. However, you do not need to waste time, because there is a much faster way.

12 useful Command Prompt tips on Windows 10

You navigate to the folder or file you want in File Explorer . Then left-click and drag it to the Command Prompt window. The link will appear shortly after.

7. Get help with any command

Is there a command you can't remember how to use or what it is for? No problem, you just added /? Click on the command and you will have information about that command, such as the options you can use and some examples.

12 useful Command Prompt tips on Windows 10

For example, if you want information about the ipconfig command , add ipconfig /? .

8. Use the Tab key to autocomplete

You can press the Tab key to automatically complete the command. This is useful when you do not know the full name of the command or to save time. For example, instead of entering a full path, simply press Tab and it will be automatically completed.

12 useful Command Prompt tips on Windows 10

If what it serves is not what you need, then you just need to hold Tab to move through the options. Alternatively, press Shift + Tab to reverse through the options.

9. Export to a file or clipboard

If you want to save the output of the Command Prompt, you can copy and paste it into an office editor and save it. But you can make this process faster and all in Command Prompt.

12 useful Command Prompt tips on Windows 10

To do so, enter the command followed by the > sign and the file you want to export. For example, to export ipconfig to a text file in My Documents , enter ipconfig> C: \ Users \ Joe \ Documents \ myinfo.txt.

You can also export the clipboard to be ready to paste it anywhere by typing your command followed by | clip . For example, ipconfig | clip .

10. Delete an order

If you sent a command that you want to stop it, just press Ctrl + C . This operation will terminate the command until the time it wants. This means the operation will not reverse what the command did, but will prevent it from continuing any further.

12 useful Command Prompt tips on Windows 10

You will find a number of commands that will complete before you have time to press that key, but this is useful for commands that are not completely out of the Command Prompt.

11. Execute multiple commands

If there are multiple commands that you want to use then you do not need to enter each turn and wait for them to complete. Instead, you can separate commands with && .

12 useful Command Prompt tips on Windows 10

For example, if you want to export both ipconfig and tree then enter ipconfig && tree . You can do this for the number of commands you need as it is not limited.

12. Customize the interface

The default black and white appearance of the Command Prompt is iconic, but it doesn't matter if you mix a bit. To start customizing the interface, right-click the title bar of the Command Prompt and select Properties.

Start with the Font tab . Here you can change the Size and Font used. You should use the TrueType font (indicated by the colorful TT icon ) to make it clearer.

12 useful Command Prompt tips on Windows 10

Move to the Layout tab . Here you can change the size and position of the Command Prompt window. In fact, it's easier to do this on the window itself than by using the ability to drag the sides of the window and move with the default Windows Taskbar .

Finally, go to the Colors tab . You use the radio buttons to select what you want to change the color, then click a color to set, or enter the red, green and blue values. The Opacity slider will adjust the entire Command Prompt window - set it to 100% if you don't want the opacity.

The above are 12 useful tips for you to master the Command Prompt. Hopefully with this article, you have learned new information to make the most of this utility on Windows 10.

Leave a Comment

Diagnose High CPU from Collabora’s coolwsd or loolwsd

Diagnose High CPU from Collabora’s coolwsd or loolwsd

Find out whether CPU load comes from active documents, idle worker processes, or server capacity before changing Collabora settings or restarting the service.

Raise the CODE Container’s Memory Cap Without Guessing

Raise the CODE Container’s Memory Cap Without Guessing

Check whether Docker is capping Collabora CODE, raise the Compose memory limit safely, and confirm the running container received the new cap.

Customize Collabora CODE Toolbars Without Editing Source

Customize Collabora CODE Toolbars Without Editing Source

Simplify Collabora CODE with Compact or Tabbed mode and WOPI PostMessage controls to hide selected buttons, commands, and tabs safely.

Run Collabora CODE Behind Nginx with TLS Termination

Run Collabora CODE Behind Nginx with TLS Termination

Put Nginx in charge of HTTPS for a Collabora CODE container, forward editing WebSockets correctly, and verify the public endpoint without exposing port 9980.

Keep Text Visible When the Collabora Mobile Keyboard Opens

Keep Text Visible When the Collabora Mobile Keyboard Opens

Troubleshoot a mobile browser keyboard covering text in Collabora Online, with quick workarounds and separate checks for browsers, embedded WebViews, and host pages.

Stop Unwanted Printing and Downloads in ONLYOFFICE

Stop Unwanted Printing and Downloads in ONLYOFFICE

Set print and download limits for ONLYOFFICE links, room members, or Docs API sessions, then verify the restrictions from a recipient account.

Schedule Reliable Backups for ONLYOFFICE Workspace

Schedule Reliable Backups for ONLYOFFICE Workspace

Set a backup destination, schedule, Mail coverage, and retention limit in ONLYOFFICE Workspace, then verify the archive is ready to restore.

Deploy ONLYOFFICE Docs Enterprise with Its Official Compose File

Deploy ONLYOFFICE Docs Enterprise with Its Official Compose File

Start the Enterprise Docker Compose stack, persist its license and data, configure JWT safely, and confirm the editors are ready to integrate.

Clean Spreadsheet Text with a Reusable ONLYOFFICE Macro

Clean Spreadsheet Text with a Reusable ONLYOFFICE Macro

Use an ONLYOFFICE JavaScript macro to remove nonprinting characters and trim extra spaces from a defined spreadsheet range, with a safe review workflow.

Sync Active Directory Users with ONLYOFFICE DocSpace via LDAP

Sync Active Directory Users with ONLYOFFICE DocSpace via LDAP

Connect ONLYOFFICE DocSpace to Active Directory or OpenLDAP, import users and groups safely, map account fields, and schedule reliable synchronization.