Object: | FileManager |
Syntax: | CreateTextFile ([in] Name, [in] OverWrite, [in] Unicode) |
Returns: | A TextStream object |
Description: | This method creates a new file in the current folder and returns a TextStream object
so you can read and write the contents of the file. You must specify the complete path of the file. If you want to create a file in the current directory, use the Folder object. If OverWrite is True, and the file already exists, it will be overwritten. It is True by default. If Unicode is True, the file will be created in Unicode format. It is False by default. |