Command Prompt or MS-DOS is one of the oldest computer programs which is often considered as an uninteresting coding tool by the new generation computer users. But you don’t know that this program has a number of powerful tools and options that make your time fun and interesting and things worth learning. CMD prompt will always remain as the king of Windows programs and tools and so today we are going to show you a few interesting cmd tricks which, after knowing, you will start loving this program.
Most interesting Command Prompt tricks and hacks
(1) Get the ASCII Star Wars in Windows
Till now you have watched Star Wars only on televisions, but now you can watch the same right on your Windows PC with these hacking tips. To enable this feature and watch the complete Star Wars episode on your PC, follow these steps:
For Windows XP, Mac, and Linux
- Click on Start > Run.
- Type “telnet towel.blinkenlights.nl” > press Enter.
Mac and Linux users can directly implement the code on the terminal window.
For Windows 10/8/7 and Vista
First of all, you’d need to enable Telnet on your PC by opening the Control Panel > Programs and Features > Turn Windows features on or off > select both the Telnet options> click Ok.
- Then search for Telnet from your Windows search box > hit Enter.
- On the following Command Prompt window, type “o” > hit Enter.
- Now type “blinkenlights.nl” > hit Enter.
Watch the action.
(2) The Matrix Falling Code Effect
One of the best “CMD tricks” is the Matrix Falling Code Effect which is very much popular among PC users. This hacking trick is inspired by the Hollywood movie ‘Matrix’ and to perform this amazing stuff you need to copy and pasted the below code in Notepad and save the file with the .bat extension, for e.g. ‘Matrix.bat’.
On opening the .bat file, you find the cool Matric falling code effect on Command Prompt.
Amazing isn’t it?
(3) Know your computer IP address, DNS address and more information about your computer
One of the most useful CMD tricks is to gain your computer information like IP address, DNS address, and lots more stuff with a simple command. Simply open Command Prompt and type “ipconfig/ all” and press Enter. The list will display the additional commands for knowing the specific information about your computer. Similarly, on typing “ipconfig /all” you can view your computer host name, DNS server address, IP addresses, WINS server address and lots of additional information.
How to hack with CMD?
(1) Catch the one who’s stealing your WiFi connectivity
If you suspect anyone stealing your WiFi connection then it’s time to catch them now. Simply follow this secret CMD hack:
- Open your browser and type http://192.168.1.1 or http://192.168.0.1 in the URL bar.
- Find the ‘Attached devices’ tab.
- Find your computer name, IP address, MAC address using the previous trick.
- Compare them with your router from the Attached devices.
If you notice any devices then protect your connection with a password. This is one of the most useful CMD commands you should know.
(2) Shut down your computer using CMD command
Normally users shut down their computers with the traditional process but there are also a few magic tricks to shut it down. Do you know that the Command Prompt can shut down your PC, make it sleep, reboot the PC and log off your computer with batch commands? Yes, it actually does this. And we will tell you the process how. To enable this step, your PC should be running on Windows XP/Vista/7/8/8.1 and your system should be virus free.
- Start Command Prompt.
Then enter the CMD commands as per your requirement:
- shutdown –s > hit Enter (to shut down your PC)
- shutdown –r > hit Enter (to reboot the PC)
- shutdown –I > hit Enter (to log off the current user)
- shutdown –s –m \\computer name > hit Enter (to shut down a remote PC. Type the computer name in place of ‘computer name’)
- shutdown –s –t 30 > hit Enter (to shut down your computer after a specific time. For e.g. we have type 30 so that the computer will shut down after 30 seconds)
- shutdown –s –t 500 –c “reason for shut down with quotes” > hit Enter (displays a message for shutdown. Type the reason for shutdown within the quotes)
- shutdown –a > hit Enter (to stop a system shutdown)
- exe Powrprof.dll,SetSuspendState > hit Enter (to hibernate a local computer)
(3) Run Command Prompt with Administrator access
To run Command Prompt with admin access, you need to type several Command Prompt codes. Meanwhile, you can also run it as administrator by clicking on ‘Run as Administrator’ from the Start Menu. So instead of doing all these things, you can simply operate Command Prompt with admin access by pressing Ctrl+Shift+Enter.
(4) View Command History
Your CMD history will be viewable by using the navigation buttons but if you need the entire list of commands used in the past then you can find them by pressing F7. On the other hand, you can tap the doskey /history command to find the list in Command Prompt itself. Who called me? – Find out using best reverse phone lookup service
(5) Become a Command Prompt Pro with these functional keys
Most users are unaware about the function keys those display a number of functions in Command Prompt. These are perhaps the hidden Command Prompt commands which are only known to CMS power users.
- 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– Erases current prompt text up to the entered character
- F5– Pastes recently executed commands and does not cycle
- F6– Pastes ^Z to the prompt
- F7– Presents a selectable list of previously executed commands
- F8– Pastes recently executed commands in cycles
- F9– Asks for the number of the command from the F7 list to paste
(6) Create a Tree of your entire computer files and folders
This is one of the best Command Prompt commands which is known to most users. If you want to see the complete files and folders on your computer hard drive in Command Prompt then simply type tree and see the magic. You will find any directory in the structure folder which is created under that directory.
So these are few of the interesting “CMD codes” and pranks you can do with the Command Prompt. We hope you find these cool commands useful and won’t get bored of the Command Prompt anymore.