Open (ne’s manual)

Next: OpenNew, Up: File Commands [Contents][Index]

#### 4.2.1 Open

Syntax: `Open [filename]`
Abbreviation: `O`

replaces the contents of the current document with that of the file specified by the filename string. (To load filename’s content into a new document without changing the current document, see OpenNew.) The current document’s macro, search, and replace strings are preserved.

If the optional filename argument is not specified, the file requester is opened, and you are prompted to select a file. (You can inhibit the file requester opening by using the `NoFileReq` command; see NoFileReq.)

If you escape from the file requester, you can input the file name on the command line, the default being the current document name, if available.

If the current document is marked as modified at the time the command is issued, you have to confirm the action.