TextFile.WriteFromString

TextFile.WriteFromString ( 

string  Filename,

string  Text,

boolean Append = false )

Description

Writes a string of text to a text file.

Parameters

Filename

(string) The full path to the text file.

Note: If the file does not exist, it will be created.

Text

(string) The string of text to write.

Append

(boolean) Whether to append the string to the end of the text file:

VALUE

DESCRIPTION

true

Append the string to the end of the text file. (The text file must exist.)

false

Overwrite the current contents of the text file. (Default)

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions