

For example, if you have Microsoft Word installed on the computer and want to open a Word document from the command line, you would enter the following: start hope.doc The start command can also be used to open any file on your computer. In the example above, if the file "hope.txt" did not exist in the current directory, you are prompted to create a new file. You can also use the start command to open a file in a text editor, such as Notepad, using the following command. New, 64-bit versions of Windows no longer support the edit command. See our edit command page for further information on this command.If you do not have a mouse, see the edit command page for keyboard shortcuts and other navigation tips.Īfter clicking exit, if any changes were made, you'll be asked if you want to save the file. Once you have edited the file or typed the information for the file, click File, and choose Exit. If the file does not exist, was entered improperly, or is empty, a blank window similar to the example below is shown. In the Open window, browse to the location of the file, select the file, and then click OK or Open.Once the program is opened, from the file menu, select Open or use the keyboard shortcut Ctrl+ O.

For example, if you wanted to view the file in Microsoft Word, you would open it first. Open the program you want to use to view the file.Select Open With from the drop-down menu that appears, and then select the program you want to use to open the file. If the file is associated with a program, but you want to use a different program, hold down Shift and right-click the file. Why do I get an 'Open with' window when opening a file?.If you don't know which program to use, try using WordPad or Notepad. If the file is unassociated with a program, you will receive an "Open With" prompt. The associated programs open each file and display them on the computer screen.
#Open any file ppc pdf#
You can open multiple files, such as Word documents, Excel spreadsheets, plain text files, PDF files, and more, at the same time.
