How To Open A File In Command Prompt?

Open Command Prompt

Type `cd` followed by the folder path containing the file

Press Enter

Type the file name with its extension

Press Enter

To open a text file in Notepad, type `notepad filename.txt`

To open a file with its default app, type `start filename.ext`

To open a file using its full path, type `”C:PathToFile.ext”`

Suggested for You

Trending Today