Home >Articles > Directly open File...

Directly open File Explorer, and more from Command Prompt interface

Posted By: Gaurav Sood | May 19 2010

Command Prompt is a powerful program application that works at the core of your operating system environment. But the operating systems these days have provided a unique human-machine interacting environment that we rarely use the Command Prompt to accomplish most of our tasks. So, let’s have a look at some of the command lines that you can use while working on Command Prompt to open system files, specific folders, and much more.

command prompt commands
command prompt commands

Go to Start->All Programs->Accessories->Command Prompt, and then follow the given below command lines to open files or folders. For better understanding run your Command Prompt interface in minimized mode.

# Open Explorer window

open explorer windows from command prompt
open explorer windows from command prompt

To do this type-in “explorer” in the Command Prompt and hit Enter key. This will open the Explorer window.

# Open the current user account root directory

open root directory folder from command prompt
open root directory folder from command prompt

To open the root directory of the current signed-in account profile (for example administrator account) type-in “start .” and then hit Enter key. The Folder will open.

# Open a specific folder on your hard disk

open specific folder from command prompt
open specific folder from command prompt

To open a specific folder from you Command Prompt interface type-in “explorer” followed with a space and the full path of that folder. For example to open a folder having the path C:Documents and SettingsInstablogsMy Documents, type-in the full directory path in Command prompt as shown below:

# Open built-in shell variables

image103
image103

To open in-built Windows shell variable type-in:

Start %APPDATA%

# Open newer shell

newer shell
newer shell

You can also open the newer shell: operator style from Command prompt directly by typing-in start shell: startup