The Command Prompt or CMD is a very useful tool in Windows. Although there aren’t a lot of users that bother to try it out, it still is a favorite place of many programming geeks out there. If you’re one among them, then your dependency on a mouse is really low or none at all and all you wish to do is control your system with mere keystrokes.
CMD Guide: Open Any File or Folder using Command

This is where the Command Prompt shines. It lets you open any file or folder on your computer with minimal cursor changes or a mouse dependency. So if you’re trying to inject your brain with more information about opening files or folder with CMD, then our CMD guide to open any file or folder using command will surely help you.
Step 1 – Open Command Prompt
There are multiple ways to open the Command Prompt on your PC. First, you can open it by simply pressing the Windows + R keyboard shortcut. Also, by pressing the Ctrl + Shift + Enter keyboard shortcut command, you can run the Command Prompt as administrator. Finally, you can click on the Windows search button, type in cmd, and open the Command Prompt from there. By right-clicking on the result, you’ll have the option to run it as administrator.
Step 2 – Opening any file or folder using CMD
How to open a folder
- In the Command Prompt window, enter down the following code:
cd\folder name
Here, simply replace the phrase folder name with the name of the folder you want to open. For example, cd\Example folder will open that particular folder in the drive

- After entering the code, press the enter key. This will give you a new follow up line. Continuing with it, type in start. (followed by the period) and then press the enter key. This will open the respective folder on your computer

How to open a file
In order to open a file using the Command Prompt, we have three ways. One is to move to the folder that contains the file and then open the file. The second way is to simply open the file directly by entering down its path. The last way is to command a specific application to open a file for you. Below, we’ll list the steps for both the ways of opening a file with the Command Prompt. Just read on carefully and apply the steps precisely.



