Command Prompt Useful Tricks............
1. Know Computer IP Address Using Command Prompt.
👉Type ipconfig To Know Your Computer IP Address.
2. Format Any Drive Or Pendrive Of Your Computer Using Command Prompt.
👉Type diskpart And Hit Enter Button.
👉Click Yes On The Popup Notification.
👉Type list disk And Hit Enter.
👉Type select disk <Your Disk Number> And Press Enter.
👉Then Type clean And Press Enter.
Then Your Disk Was Formated.
3. Hide Any Folder Using Command Prompt.
👉Open The Folder Where Is The File Which You Want To Hide.
👉Click On The Folder Address Bar.
👉Type cmd And Hit Enter Button.
👉Type Attrib +s +s +r<folder name>
👉Then Press The Enter Button.
👉Then The Folder Was Hidden.
✋To Shown The Folder Type Attrib -h -s -r<folder name>
4. Show Your Network Property.
👉Type ipconfig/all And Hit Enter.
5.Know Any Website IP Address.
👉Type nslookup <website address> Exam: nslookup youtube.com
6. See All Tasks On Your Computer Using Command Prompt.
👉Type tasklist && netstat -b And Press Enter.
7. Delete Temp File Using Command Prompt.
👉Type del /q /f /s %temp%\* And Hit Enter
8.Speed Up Your Network Speed.
👉Type ipconfig/flushdns And Hit Enter.
9.Shut Down Your PC at a Certain Time Using Command Prompt.
👉Type shutdown -s -t 3600 <3600 sec> And Press Enter.
👉Type -a To Cancel Shutdown Time
10. Fix Boot Issus Using Command Prompt.
👇
- bootrec /fixmbr
- bootrec /fixboot
- bootrec /scanos
- bootrec /rebuildbcd
***Some Shortcut Key For Became A Pro In Command Prompt.***
- F1: Tap or hold this key to retype your last command letter by letter.
- F2: Copies the current command up to a specified character.
- F3: Retypes the entire previous line
- F4: Auto-deletes the current command up to a specified character.
- F5: Similar to F3, but lets you cycle through previous commands.
- F6: Enters the EOF indicator into CMD.
- F7: Opens a list of previously entered commands.
- F8: Similar to F5, but doesn’t stop at the end of your command history in the session. Instead, it goes all the way to the start.
- F9: Enters a previous command by entering a number associated with that line.
