Command Prompt Tricks
Command Prompt is one of the most powerful tools in Windows Things were not always like this; but with the advent of GUI based operating systems, people started feeling that computing through command based tools was boring. This ultimately led the command prompt into obscurity.
Command Prompt Tricks: The Most Powerful And The Most Ignored One Tool
- It can be surely useful for you. we can start with encrypting your sensitive data There are some commands which can be used to encrypt your files in your computer because it may be a low level of encryption but any encryption is better than no encryption.
- Firstly, Open your command prompt.
- Now change your working directory to the folder, where you save your files. (Use the cd command to do this)
- After you have done with the first step, Type cipher/E press enter. it will encrypt your all files inside the folder.
Deleting the Folder
- Although, it is not possible to manually delete the folder, you can delete the folder by typing “rd con” or “rd lpt1” in Step 4 instead of “md con” or “md lpt1“.
Shutdown, Restart, Log OFF your computer using command prompt
Launch your command prompt.
To shutdown your computer Type shutdown /s.
To Restart your computer Type shutdown /r
To logoff your computer Type shutdown /l
Change the color of text in your command prompt
- Type color color code press enter e.g. color 02 it turns into green
- C:usercomputerdestop>>attrib+h+s+rhit enter.
- enter your directory name like desktop in my case.
- e.g C:usercomputerdesktop>cd desktop
- to unhide folder C:userdesktop>attrib -h -s -rhit enter
To see the installed programs in your PC
- simply Type the following command and hit enter
- ‘wmic product get name’
Run commands one after another
- If you want to run command one after another just,
- type ‘&&’ between more than two commands like “systeminfo&&ipconfig” and hi enter.
To check your drive
- type ‘chkdsk’ this will check your drive for errors and gives you a report.
- like –chkdsk D: hit enter.
To check network statics of your network
- type ‘netstat’ this will show network statics of your network, the no of active ports connections along with their current status.
To know all commands
- type ‘help’ command this will show you all commands used in ms-dos prompt.
Format drive using a command prompt
- type ‘format c:‘ it will format your drive, this is so easy.
This is some basic command
- cls – Clear Screen
- dir – Directory Listing
- cd – Change Directory
- move – Move Directory/Files
- copy – Copy Directory/Files
- ren – Rename Directory/Files
- use ‘ping’ or ‘telnet’ command.
To check your system information like memory, processor in detail then
- Type ‘systeminfo‘ you will get detail information of your system .
TO kill some task that can’t respond you by this command
- Type ‘Taskkill‘ in command prompt it will kill the task
Some shortcuts uses in command prompt like
- pressing f7 shows recently used commands.
- press arrow keys to cycle through the previous commands.
- press tab button to completing command
#Command Prompt Tricks #Command Prompt Tricks: The Most Powerful And The Most Ignored One Tool#Command Prompt Tricks