Here some Best windows command prompt tricks for Windows 10. which allow to do the things which you can’t do on GUI windows. Like Create A Con folder, Hide and unhide folders using windows command prompt. Trick to shutdown computer with command prompt. Also you can set Shutdown Computer In specified Time With CMD prompt. You can Create Wi-Fi Hotspot using Command Prompt, and also Check IP address of any Website and get the system details. And much more you can do with the command prompt. Here we have some hidden Command prompt Tricks you must Try.
Top windows command prompt Tricks
Creating Con Or Non Delectable Folder With CMD
In Windows you can not create a folder with name con or can not rename a folder to con. This is because it is a variable name used by Windows programming.
Other variable name includes lp1, lpt2, lpt3 up to lpt9, aux. So Windows can not allow you to make a folder with this name.
But with the help of dos command we can create a folder with such name.
Create CON Folder
Press Windows button and run CMD as administrator.
Now Type Command
Here D is your drive location and con is your folder name
To Deleting con Folder
You can not delete such folder manually by using Windows. To delete this folder type the following command in the command prompt.
Hide/ Unhide A Folder With CMD Command
We can play some interesting tricks with command prompt. Hiding a folder is one of them. By hiding a folder you can also save your data from other users.
You can do this by typing the following command : attrib +s +h D:Srikant
Where D is my Drive Letter and srikant is the name of directory we want to hide.
To Unhide The Folder
If we can also unhide the hidden folder using command prompt. To unhide the folder type the following command : attrib -s -h D:Srikant
Open Command Prompt from current Folder
When you open the command prompt, it opens up in either User or System folder depending upon whether you ran it as administrator or not.
Now the thing is, if you want to execute a file in any particular folder, you would have to use the change directory(cd) command to navigate to the folder which can be a problem if the directory is nested way too deep. To ease things you can open the folder in your Windows Explorer, hold Shift key when you right-click in the folder and select Run command window here to directly open the CMD prompt with the path to that folder directly.
Shut Down Computer With Commands
You can also shut down your computer by using command prompt. Type the following command in command prompt.
For Shut Down shutdown -s ( S parameter tells the computer to shut down)
For Restarting shutdown -r (R parameter tells the computer to Restart windows)
And command for For Logoff shutdown -l ( L parameter tells the computer to log off windows)
Shutdown Computer In specified Time With CMD
You can also shut down your computer in specified time using command prompt. If you want to shut down your computer after 10 minutes type the following
shutdown -s -t 600