Microsoft DOS (Disk Operating System) is a command-line platform that was the world’s foremost operating system during the 1980s.

Using the right command you can open any folder in CMD

  • The Command Prompt is a handy command-line utility with which you can open folders and files.

  • This how-to guide provides guidelines for how you can open folders and files with the Command Prompt.

  • Download DriverFix (verified download file).

  • Click Start Scan to find all problematic drivers.

  • Click Update Drivers to get new versions and avoid system malfunctionings.

  • DriverFix has been downloaded by 0 readers this month.

However, DOS declined into irrelevance during the 1990s after Microsoft released Windows 95, which introduced the Start menu.

Nevertheless, Windows has retained a windowed replica of DOS in the form of the Command Prompt. That’s not entirely the same as the 1980s DOS platforms, but it has a similar command set.

You can open folders and files with the Command Prompt instead of File Explorer. This is how you can open folders and files within the Command Prompt.

How can I open files and folders with the Command Prompt?

1. Open the Command Prompt

  • Open the Type here to search tool by pressing the Windows key + S hotkey.
  • Enter the keyword Command Prompt in the search utility.
  • Click Command Prompt to open it.
  • You can also right-click Command Prompt and select Run as administrator to open it with admin rights.

2. Opening a folder

  • First, enter cd / in the Command Prompt, which will return you to the root C: drive.
  • Then you can open a folder in the Command Prompt by entering this change directory command:
  • cd\folder\subfolder\subfolder
  • You’ll need to include the root folder and all its subfolders within the path to open a required folder within the Command Prompt.
  • Press the Return key after entering the change directory command.
  • To display a folder’s file content within the Command Prompt, type dir and press Enter. Then the Command Prompt will display a file and subfolder list for the folder.

3. Opening a file

Alternatively, you can open files in the Command Prompt without moving to their folders first. To do that, you’ll need to enter a command that includes the full folder path for the file along with the file title itself.

cd\folder\subfolder\subfolder

You’ll need to include the root folder and all its subfolders within the path to open a required folder within the Command Prompt.

For example, let’s suppose you need to open a file titled youcam_9.png from the path Users\mav_u\pictures. To do so, you would enter this command:

“C:\Users\mav_u\pictures\youcam_9.png”

That file-opening command must always include quotation marks.

So, who needs File Explorer when you can open folders and files with the Command Prompt instead?

Ok, the Command Prompt may not be everybody’s cup of tea; but some users might still prefer its command-line flexibility.

  • Fix: Can’t run Command Prompt as admin

  • Google Drive is Not Syncing on Windows 11: How to Fix it

  • How to Use ChatGPT in WhatsApp [Step-by-Step Integration]

  • File Count Over Limit in Sharepoint: How to Bypass It

  • Fix: This Email Address is Already Connected with Office 365

  • Windows 10 Guides

Email *

Commenting as . Not you?

Comment