USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Save the contents of a variable to a text file on the server
Writes the value of a named AMSX variable to the specified file path. Use this when you want to save a variable directly rather than the current result buffer. The file path must be within the permitted folders for this transform.
| Parameter | Description |
|---|---|
| cmd | File path (must be within permitted folders) |
| Argument 0 | Variable name whose value is written to the file |
SaveTextFileFromVariable "File path (must be within permitted folders)", "Variable name whose value is written to the file"