Open File Command


open file <filename>


The open file command prepares a file to import or export text (or any data treated as text) using the read from file or write to file commands. The filename must include the name of the file, the disk where the file is located, and the path or directory where the file is located (unless the file is in the same directory as Oracle Media Objects). If you do not specify a path, the search is carried out only within the Oracle Media Objects directory.


If you specify a <filename> that doesn't exist, Oracle Media Objects will create a new file. You can open up to 10 files at once.


Type the following statements into the Message Box and press Enter after each: open file "test.txt" write "This is a test." to file "test.txt" close file "test.txt"
This text has been mechanically extracted from the Oracle Media Objects MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.