• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Microsoft's Scripting Engine ... > FileSystemObject.OpentextFile()

FileSystemObject.OpentextFile()

JScript2.0+Syntax

							filesystemobject.OpentextFile(filename, iomode, create, format)

Description

The OpentextFile() method is used to open a text stream object to a specified file, which can be used to read and write from that file. This method takes four parameters. The first parameter, filename, is the name of the file to be created. The second parameter, iomode, is the mode of the file. The third parameter, create, is a Boolean value indicating whether the file can be created if it doesn't exist. And the final parameter, format, is a value indicating the format of the opened file. The default is ASCII.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint