Wonder how to open a file cmd or how to open a folder in Command Prompt on Windows 10? This tutorial provides a step-by-step guide. Also, if you can’t find some files or folders in Windows 10, or some files are unexpectedly lost in your Windows 10 computer, MiniTool free data recovery software for Windows 10/8/7 can help you easily recover lost files.

You can also open files from Command Prompt. Wonder how to open a file or folder in Command Prompt on Windows 10? Check the step-by-step guide in this tutorial.

Use ipconfig Commands to Get/Renew IP Address & Flush DNS
Use ipconfig Commands to Get/Renew IP Address & Flush DNS

Check how to use ipconfig commands in Command Prompt to get IP address, release and renew IP address, display/reset/flush DNS, etc. on a Windows 10/11 computer.

Read More

How to Open a File CMD Windows 10 in 2 Steps

Step 1 – Open Command Prompt

You have several ways to open Command Prompt in Windows 10.

You can press Windows + R keys on the keyboard to open Windows Run dialog. Then type cmd in the Run box. If you want to run Command Prompt as Administrator, you need to press Ctrl + Shift + Enter keys at the same time.

Alternatively, you can also click Start or Search box in Windows 10, and type cmd or command prompt. Right-click the Command Prompt app in the list and choose Run as administrator.

Step 2 – Open Files from Command Prompt

Normally you have two ways to open a file using cmd. One is to move the folder that the file is in, the other is to open the files directly in Command Prompt.

Method 1. How to open a file with cmd by moving to the folder firstly

  • You can use the cd command to move to the exact folder the file lies in. For instance, cd C:\Users\mini\Desktop.
  • After you are in the correct folder path, you can type the name of the file with its extension, e.g. “travel.png”, and hit Enter button to open it.

how to open a file cmd

Method 2. How to open a file using cmd directly

You can also choose to open files from Command Prompt on Windows 10 directly, instead of going to the folder path. You can input the full path, file name and its file extension to open the target file, e.g. “C:\Users\mini\Desktop\travel.png”.

open files from Command Prompt

You can also freely specify an app to open the file. You need to type the whole path of the app ahead of the path of the file, for example, “%windir%\system32\mspaint.exe” “C:\Users\mini\Desktop\travel.png”. Press Enter to open the file using CMD.

specify an app to open a file in Command Prompt

How to Stop Windows 11 Automatic Updates – 5 Ways
How to Stop Windows 11 Automatic Updates – 5 Ways

How to stop Windows 11 update? This post provides 5 solutions to let you disable automatic updates on Windows 11. Check the step-by-step guide.

Read More

How to Open a Folder in Command Prompt Windows 10

You can also open a folder from Command Prompt with the command line below.

After you enter into Command Prompt window by following the operation above, you can open a folder in File Explorer in Command Prompt. The command line can be like this, start %windir%\explorer.exe “C:\Users\mini\Desktop”.

how to open a folder in Command Prompt

Tip: Need to mention that you need to enclose the path of a file or folder in double quotation marks, since some folder or files names have spaces in them.

>> Quick Video Guide:

To Recover Unexpectedly Lost Files or Folders in Windows 10

Sometimes you may suffer unexpected data loss in Windows 10 due to various reasons, e.g. system crash, Blue Screen error (e.g. Bad Pool Caller BSOD error), power outage, malware/virus infection, hard drive failure, etc. To easily recover lost data for free, you can choose the best free data recovery software to realize it.

MiniTool Power Data Recovery, a 100% clean and free data recovery software for Windows 10/8/7, enables you to easily recover mistakenly deleted files or lost files from computer local drive, external hard drive, SSD drive, USB drive (pen drive data recovery), SD card, and more.

MiniTool Power Data Recovery TrialClick to Download100%Clean & Safe

Forgot Windows 11 Password | How to Reset Windows 11 Password
Forgot Windows 11 Password | How to Reset Windows 11 Password

If you forgot Windows 11 password, you can check the 6 solutions in this post to reset/bypass Windows 11 password. Also learn how to change Windows 11 password.

Read More
  • linkedin
  • reddit