Get our toolbar!

Peoples in now

"Hai My Friends .Your Comments are My Blog Life
Impression So Please Give Your All Comments"

How To Open Folder Using Command Prompt

To do this, open a command prompt from the keyboard by typing Win+R, or click on Start \ Run then type cmd in the run box and click OK.

Navigate to the folder you want displayed in Windows Explorer by using the Change Directory command "cd" (with out the quotes).

In the below,screen shotI have cd to the Windows folder.

Name:  Image1.JPG

Views: 15338

Size:  7.0 KB


Now type the following command..

start .

Note:- above command is typed as start, followed by a space, followed by a period.

Name:  Image2.JPG

Views: 14871

Size:  7.1 KB


…and Windows Explorer will open to the folder location that you were in at the command prompt, and display it's contents.

Name:  Image3.JPG

Views: 15140

Size:  26.0 KB


If you want Windows Explorer to open the parent folder of the current location, just type

start ..

Name:  Image4.JPG

Views: 14839

Size:  6.3 KB


In the below screenshot, the root of C:\ is the parent folder of Windows.

Name:  Image5.JPG

Views: 14839

Size:  21.0 KB


This trick is pretty cool and very useful for any command line geek.
Also, at the beginning of this article, I mentioned the capability to open a folder location in a Command prompt, by right clicking on a folder and selecting "Command Prompt Here".

In Vista, it is included by default, but in XP it is not. If you are missing this option in XP, you can add it to the context menu by following these steps:

• Click on Start \Run then type regedit and click OK
• In the left menu tree, go to HKEY_CLASSES_ROOT\Directory\shell
• Right click on shell and select New \ Key
• Name the key Open Command Prompt Here
• Right click on the newly created key (Open Command Prompt Here) and select New \ Key
• Name the new key command
• Select the newly created command key and double-click on default value
• Enter cmd.exe /k cd %1 and click on Ok

0 comments

Post a Comment