Hello, guys! I’ll be showing you 18 CMD Tricks And Tips things that you can do using your windows command prompt So let’s get started.
18 CMD Tricks and Tips:-
Today I am going to tell you about 18 cmd tricks and tips from this post help so that you can show magic to your friends with this cmd amazing hack.
1. Open CMD in any folder directly:
If you find it very difficult to navigate through folders using the Command prompt you can do this simple trick. Just open the particular folder in your windows explorer, click on the address bar, type CMD and hit enter this will open the command prompt window in that particular folder.
2. Create a secured folder:
Well, if you want to create a secured folder that cannot deleted, or even copied or moved to another folder then here is a simple command to do that. Just open the command prompt window in your folder where you want to create your secured folder then type in “md aux\” then hit enter. This will create a folder named as “aux” in the current directory.
Now you can put your data in this folder and if you try to copy this folder or move this folder to any other folder you won’t be able to do it. Neither you will be able to delete this folder
And if you want to remove this folder simply type “rd aux\” and hit enter. This will remove the folder. But before removing this folder, just make sure that the folder is empty.
3. Hide any folder:
If you want to hide a particular folder (Folder name “yuvi”), then just navigate to that particular folder. Then open cmd there then type “attrib +h +s +r yuvi” and hit enter. Now this is going to hide that particular folder. Now if i refresh it you will see the folder is gone. Now even if I have enabled this option to show the hidden files, i am not able to see that particular folder.
Now if I want to bring that folder back, I’ll simply type “attrib -h -s -r yuvi” Now, this is going to bring that folder back. So this is a very useful command, as you can put your important files or passwords and just hide them from spying eyes!
4. Shutdown your computer using cmd:
Now, if you want to shut down your pc using cmd you can do it simply by typing the command “shutdown -s” This will shut down your computer as soon as you hit enter. And, “shutdown -r” to restart and “shutdown -l” to log off your pc.
if you want to set a countdown to your shutdown command simply type shutdown /s /t then the number of seconds of countdown. In this case the pc will shut down after 50 seconds And if you want to show a particular message just before shutting down your pc you can just append this thing “/c” and your message. This message will be shown just before your computer shuts down. (Ex. shutdown /s /t 30 /c “I am going to sleep”)
5. Customize your command prompt window:
You can change the background color and the font color of your command prompt using this simple command. Now, just before knowing which colors you can set, simply type “color help” This will show the name of all the colors and their respective code. Now if you want to change the background to Blue and the font color to red, you can type “color 14” This will change the background color to blue and font color to red. Similarly you can play around by setting different colors and see which one you like. The default one is 07.
Next, you can change the prompt that is shown here. by simply typing “prompt your_name” or anything that you want to set and hit enter. This will show the prompt to whatever you’d set. Next, if you want to change the title of this window you can type in “title My cmd” this will change the title of the command prompt window.
6. Create a Wi-Fi hotspot:
Now, if you want to create a Wi-Fi hotspot using cmd simply type in netsh wlan set hostednetwork mode equals to allow ssid equals to your hotspot name then key equals to the password that you want to set for your hotspot.(Ex. netsh wlan set hostednetwork mode=allow ssid=yadram key=yadram987) now make sure that you enter a password of minimum eight characters so here i will enter password and hit enter so this will create a hotspot network with name yadram and password as yadram987.
now if you want to start the hotspot simply type netsh wlan start hostednetwork so this will start your hotspot and share your internet connection now if you want to stop the hotspot simply type in netsh wlan stop hostednetwork this will stop your hotspot.
7. Clear your command prompt screen:
Well this is a very common command which most of you must have already used. To clear the screen or log of your command window simply type CLS and hit enter. so this will clear all the line of codes and commands that were present earlier.
8. Get a list of all installed programs:
if you want to get a list of all the installed programs that are currently installed on your system simply type wmic product get name and hit enter this will load the list of all the programs are currently installed on your system this may take time depending on the number of programs that you’ve installed. So, here is the list of all the installed programs.
9. Copy cmd output:
Now, if you want to save the output of the CMD command there is a simple way to do that. Simply type in your command then space then pipe symbol then type clip and hit enter(EX. Color help | clip). this is going to save the output of this particle commandd to the clipboard and now if I want to save it in a text file and simply open the notepad and paste the clipboard contents.
So this is the output of this particular command so in this particular case i have got the list of all the directories and files that are currently present in this particular folder.
10. CMD shortcuts:
you can use up arrows and down arrows to navigate through your previous commands you can use tab to show the file names or folder names in your current directory so tab is used to autocomplete your files or folder names snf 3rd shortcut is F7 this will give you the list of all the commands that you have used till now
11. Check if you are running cmd as admin:
To check this simply type net session. If you get access denied then it means that you are not running cmd as admin.
- Introducation to Hacking | Types Of Hackers? | Phases of Hacking?
- How To Earn Money By Maxnerwellness? | Referral Code
12. Check your IP and get other details:
To do so type ipconfig /all then hit enter. This will give you details regarding your IP and all the adapters and the connections that are currently present on your system.
13. Sorted list of all files and folders in the current directory:
if you want to get a list of all the files and folders then you know the command it is dir so you can see the list of all files and folders but if you want the order list simply type dir /b /s | sort so this will give you a list of all files and folders in a sorted way you can also see the path of each files.
14. Open a webpage using cmd:
If you want to open a webpage using cmd simply type start then the website name the hit enter. So this will open that particular website in your default browser.
- 6 Facebook Privacy Settings You Should Change Now 
- Introducation to Ports And Protocols | important networking terms
15. Know the IP address of any website:
If you want to know the ip address of any particular website then simply type in ping then the name of the website and hit enter so using this command you can get the IP address of that particular that side.(Ex. ping www.facebook.com)
16. Get the list of all the running processes:
To do so, simply type tasklist and hit enter. This will give a list of all the services that are currently running on your system. If you want a detailed list simply type “tasklist -v” so this will give detailed list of all the services running currently.
17. Open CMD as admin:
Well there are many ways to do this you can either search command prompt then right click then click on run as administrator or you can press the windows key + X key and click the command prompt (admin) This will ask for permission. Click on yes So now you have opened the administrator version of command prompt.
18. Set the current time of your system:
To do so open CMD as admin then type the command “time” it will ask you for a new time simply pass in your new time then hit enter. So as you can see as soon as i hit enter you see the time changing here So the time has changed. But this command is not recommended.(Cmd tricks and tips)
Thanks for reading 18 CMD Tricks And Tips and CMD Amazing Hack Post. Give it a share up if you enjoyed. Leave us a comment down below with any other questions, and don’t forget to subscribe to this Blog for more great Post.