Open a file from Windows Terminal In a command prompt window, type cd followed by the path of the file that you wish to open.figure out