Main Help Page | Home Page (Internet) | Menus and Windows | Release Notes

Open

Use the open command to open files, using the association set up for that file. You probably have associations for most files that you use on a day-to-day basis, such as:

open filename.doc (opens "filename" with your default word processor)

open filename.txt (opens "filename" with your default text editor)

open filename.??? (opens "filename" with whatever opens ???)

open . (opens current directory)

If you use open with a .htm or .html extension, it is assumed that you wish to open a file, not an internet address. Use the browse (or b) command to open internet addresses.

open filename.htm

browse http://premium.microsoft.com/msdn/library/sdkdoc/shelllib_9shf.htm

The open command may not work with your browser, because the exact syntax for opening an html file using a browser changes from version to version. If the open command does not work, try:

open file:filename.htm

open file:c:\path\filename.htm

Table of Contents