Best CMD Tricks For Computer User

CMD Tricks

There are so many useful tricks for computer user. Among them some of the most Important and Useful Tips are mention Below:

CMD Tricks

Best CMD Tricks. Most Useful. You Can Try and Learn From Here:

1) How to Format USB Flash Drive (Pen Drive) using command prompt ?

2) How to recovered the File inside corrupted Pen Drive (USB Flash Drive)

3) How to create WIFI hotspot into your computer?

4) CMD Secrets about Function Keys

How to format USB Flash Drive (Pen Drive) using command prompt?
ü  At first open run by pressing (Winlog + R) button from keyboard.

ü  Then type CMD and click on ok.

ü  It displays Command Prompt dialog box (C:\Windows\system32\cmd.exe). Now type diskpart and press enter.

ü  Click on Ok. Then it opens another command prompt dialog bog (C:\Windows\system32\diskpart.exe)
ü  Type list disk and press enter. Then it shows list of disk connected to our computer including hard disk, pen drive, etc.

ü  Now type: select disk 1 to select the 15 GB Disk which is our USB Flash Drive (Pen Drive).
ü  Now type: clean and press enter.
ü  Now type: create partition primary and press enter.
ü  Now type: select partition 1 and press enter.
ü  Now type: active and press enter.
ü  Now type: format fs=fat32 quick  / format fs=ntfs quick  and press enter.
ü  Now type: assign. Then it shows:

ü  Now our USB Flash Drive is formatted and ready to work.

How to recovered the File inside corrupted Pen Drive (USB Flash Drive)

ü  Insert pen drive into computer and find drive letter of connected USB drive. For Example, E:
ü  Now click on Start--> Run
ü  In Run box, type cmd and hit Enter
ü  Now command prompt will appear, in command prompt type the drive letter of your pen drive and hit Enter. Example type E:
ü  After that, type attrib -s -h /s /d *.* or ( attrib -s -h -r *.* /s /d)

ü  Now hit Enter and wait for some time. That's all, you have done!!! Now you can view all your files in pen drive without any problems

How to create WIFI hotspot into your computer?

Things to remember:
ü  To create WIFI hotspot, your computer most needs WIFI adapter.
ü  For Desktop we need USB Network Adapter 
ü  Laptop has already network adapter inbuilt.
If everything is ready then, now start to create WIFI hotspot...

Creating WIFI Hotspot...

ü  At first open CMD but  run as administrator and click on ok.

ü  It display Command Prompt dialog box (C:\Windows\system32\cmd.exe).

ü  Now type command to create WiFi hotspot (netsh wlan start hostednetwork mode=allow ssid=MeIDoKoXora key=12345678) .

ü  Now press enter after typing the command to create WiFi hotspot.

ü  Now our WiFi hotspot is started.

ssid = MeIDoKoXora where MeIDoKoXora means the name of the WiFi Hotspot

Key = 12345678 where 12345678 means security (Password) what we kept in our WiFi Hotspot.

CMD Secrets
 about Function Keys:

The fact that the function keys actually do something in the Command Prompt is maybe one of the best kept secrets about the tool:

F1: Pastes the last executed command (character by character).
F2: Pastes the last executed command (up to the entered character).
F3: Pastes the last executed command.
F4: Deletes current prompt text up to the entered character.
F5: Pastes recently executed commands (does not cycle).
F6: Pastes ^Z to the prompt.
F7: Displays a selectable list of previously executed commands.
F8: Pastes recently executed commands (cycles).
F9: Asks for the number of the command from the F7 list to paste.

Post a comment