How To Open A File In CMD?

Open Command Prompt

Use `cd` to go to the file’s folder

Type the file name with its extension

Press `Enter`

Use `start filename.ext` to open it with the default app

Use `notepad filename.txt` to open a text file in Notepad

Use `start “” “C:PathToFile.ext”` to open a file by full path

Suggested for You

Trending Today