8 Best Command Prompt Tips and Tricks - You Should Know





We all using Microsoft windows but many of you don’t know about the windows command prompt. Because it is not user friendly and to do any task in Command Prompt, you have to type specific commands. In this post I collected some of the cool feature, which may improve your knowledge on windows command prompt.

1.  Create Your Own Command Prompt Calculator

Have you wanted to make calculations in command prompt? Well now you can make your own calculator to quickly solve a simple mathematical problem using notepad and command prompt. Click in the below link for step by step guide.

2. Hide Files or Folders Using Command Prompt

Have you ever wanted to hide your important files and confidential data from stranger on your computer? Once the file is hidden with this method, the files or folders cannot be viewed by any search options, so your file will be secure from stranger. Here is the trick how to hide Files or Folders Using Command Prompt.
1. First create the folder in the drive you want to hide. Let e.g. Folder name is  “SecretFolder” in G-drive.
2. Press Win+R to open run, type cmd in the Run text box and press enter to open the command prompt.
Type cd.. and hit enter: to back out one level out of the current directory.
Type cd and hit enter: to change the drive.
3. In the Command prompt type "attrib +s +h G:\ SecretFolder” without any quote and hit enter. 

4. Now the folder is hidden and none can access except you.

5. To unhide folder again type reverse the command “attrib -s -h G:\ SecretFolder” without any quote and hit enter.
6. Now you can see your hidden file or folder.

3. Useful Command For Command Prompt

Command Prompt is one of the most powerful tools in Windows but the disadvantage is that it is less user-friendly. To do any task in Command Prompt, you have to type your commands. It is difficult to find and remember all the commands. Here is the list of some useful cmd for command prompt which you may find useful.

4. Change Computer Password Using Cmd

In general we are using control panel to change the computer password. You can also do it through command prompt. In the command Prompt, you can reset your Windows 7 password to anything you'd like using the net user command. Note that only administrators can change domain passwords at the Windows command prompt.
1. Press windows+R to open run, type cmd in the Run text box and then press enter to open the command prompt.
2. Now, type: net user username new_password.
Replacing the username with your Windows account name, and the new_password with your desired new password.



e.g.  net user sk  s@123 // Here sk is the username and s@123 is the new password
Now press Enter, you’ll get a command completed successfully message.
Note: There are spaces between net, user, the username, and the new_password. If your username has a space, use quotes like: net user “sk sdm” s@123k.
4. If you aren't sure exactly what the username is, you can generate a list of all user name by executing the net user command. Just type net user and then press enter.

5. Change Colour Of Your Command Prompt

Are you bored of the lame white text on black background in cmd? If yes then change the colour of the command prompt. You can change the colour of cmd in two ways, using GUI or using command.
Using GUI
1. First open the Command Prompt.
2. Right-click on the top and click on Properties.



3. Go to the Colors tab and select text or background and edit the color values.



4. Now click ok to apply changes.

6. Change Computer Date and Time Using Command Prompt

On today's computers, the time and date can be easily changed through the control panel clock display and we are familiar with control panel. Now it’s time to do it through control panel. You can also use the command prompt to set the computer's date and time. Click the below link for step by step guide with screenshot.

7. Command Prompt on Right-Click

Now you can add command prompt on right click menu in window, which helps you to open a program through command prompt. You can do it through two different way. The first method I described below and for second method click the blow link.
Press Shfit+Ctrl+right click on a folder and choose open command window. Check your title bar: if it starts with Administrator, you're set. Otherwise follow this method as below.

8. Enable Copy Paste In Command Prompt

When using Microsoft command prompt in Windows it may be necessary to copy text from document and paste text in the command prompt. The usual keyboard shortcut Ctrl+V doesn’t work but there is an easy way to enable copying and pasting into the command line.
1. Press windows+R to open run, type cmd in the Run text box and then press enter to open the command prompt.
2. Right-click on the top and click on Properties.



3. Select the QuickEdit Mode check box on the Options tab and click OK.



4. That’s it. Now whenever you want to paste some text into the command prompt, copy it and then right-click on the desired location in the command line. The copied text will be pasted. 
If you find this article useful or you face any kinda difficulty then please share your thought in the below comment box. 

Subscribe to receive free email updates:

0 Response to "8 Best Command Prompt Tips and Tricks - You Should Know"

Post a Comment