Technology

Command Prompt Tricks: The Most Powerful And The Most Ignored One Tool

Command Prompt Tricks

Command Prompt Tricks: The Most Powerful And The Most Ignored One Tool

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.

  • It can be pretty useful its surely useful for you.
  • We start with security There is command used to encrypt your files in your computer because it may be low level of encryption but any encryption is better than no encryption.
  1. Change the working directory. Add which file you want to encrypt then  use ciper/E command to encrypt the file.
  2. Folders which you cannot delete.
  3. Click on start.
  4. Click on run, type in ‘cmd’ without quotes.
  5. In the command prompt window that opens ,
  6.  type the name of the drive you wish to create your folder in the format  : and press enter ,
  7. e.g if you width to create the undeleteble folder i n drive, type “D:” without the quotes, note that the folder cannot be created in the root of C: drive (if C: is your system drive).
  8. Type this command “md con” or “md lpt1” without the quotes and press enter. you can choose any of the keyword given as the name of your folder.
  9. Now Windows will create an undeletable, unrenamable folder in the drive you entered in Step 3 ,  However, the folder can be renamed to another keyword using Windows Explorer.


Deleting the Folder

  1. 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”. 
Shut down your computer by giving a message
  1. Type shutdown -s  -t 500 -c “TAKE A BREAK”(with the quotes) in the Command Prompt and press Enter. The -c switch is used in the code to give the reason for shutting down and what is followed in quotes will be displayed in the dialog box as the reason.
  2. Type shutdown -s in cmd and press enter the command switch -s tells the computer to shutdown.
  3. Type shutdown -l in the command prompt and press Enter. The -l command switch tells the computer to log off.
  4. Type shutdown -s -t 60 to shutdown your computer after 60 seconds This command uses the -t command switch followed by a variable (which is 60 in this case) which represents the number of seconds after which the computer will shutdown.
  5. Type shutdown -a and press Enter. This will stop the system from shutting down if the countdown to shut down has not reached 0.
Change the color of text in your command prompt
  • Type color color code press enter e.g. color 02 it turns into green
Command Prompt Tricks

Command Prompt Tricks

change the text of prompt
  • type prompt by the text you want to display like prompt sup@atreaktotecg$5
Command Prompt Tricks

Command Prompt Tricks

Change the boring title of your command prompt
  • Type title ‘STAR WAR'(you can type here whatever name you want to give your prompt) press enter
Command Prompt Tricks

Command Prompt Tricks

  1. Create your hotspot and share with your friends
  2. Type the follwing command and enter.
  3. ‘netsh wlan set hosted network mode=allow ssid=HotspotName key=password.
  4. this set your hotspot then simply type ‘netsh wlan start  hostednetwork’.
  5. to stop type ‘netsh wlan stop hosted network’.
Hidden folders
you can hide your folders by checking hidden property but this will unhide if someone checks your hidden property so hide your folders by command prompt
  1. C:usercomputerdestop>>attrib+h+s+rhit enter.
  2. enter your directory name like desktop in my case.
  3. e.g C:usercomputerdesktop>cd desktop
  4.  c:usercomputerdesktop>
  5.  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
check connections
  • 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 responds you by this command
  • Type  ‘Taskkill’ in command prompt it will kill the task
Some shortcuts uses in command prompt like
  1. pressing f7 shows recently used commands.
  2. press arrow keys to cycle through the previous commands.
  3. press tab button to completing command
Command Prompt Tricks

Command Prompt Tricks

This is all about Command Prompt Tricks a great tool for everyday PC users because it’s easy to use, yet powerful.

#Command Prompt Tricks #Command Prompt Tricks: The Most Powerful And The Most Ignored One Tool#Command Prompt Tricks

Leave a Comment