![]() ![]() Shutdown Computer In specified Time With CMD You can also shut down your computer at a specified time using the command prompt. Type the following command in the command prompt.įor Shut Down shutdown -s (S parameter tells the computer to shut down)įor Restarting shutdown -r (R parameter tells the computer to Restart windows)Īnd command for Force Logoff shutdown -l (L parameter tells the computer to log off windows) You can also shut down your computer by using the command prompt. To ease things, you can open the folder in your Windows Explorer, hold the Shift key when you right-click in the folder, and select the Run command window here to directly open the CMD prompt with the path to that folder directly. 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. When you open the command prompt, it opens up in either the User or System folder depending upon whether you run it as administrator or not. To unhide the folder type the following command: attrib -s -h D:Srikant If we can also unhide the hidden folder using the command prompt. Where D is my Drive Letter and Srikant is the name of the directory we want to hide. You can do this by typing the following command: attrib +s +h D:Srikant By hiding a folder you can also save your data from other users. ![]() We can play some interesting tricks with the command prompt. D:con Hide/ Unhide A Folder with CMD Command ![]() To delete this folder type the following command in the command prompt. You can not delete such folders manually by using Windows. Here D is your drive location and con is your folder name To Deleting con Folder Press the Windows button and run CMD as administrator. So Windows cannot allow you to make a folder with this name.īut with the help of the dos command, we can create a folder with such a name. Other variable name includes lp1, lpt2, lpt3 up to lpt9, aux. This is because it is a variable name used by Windows programming. In Windows, you cannot create a folder with the name con or can not rename a folder to con. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |