![](https://www.troi.com/wp-content/uploads/SC5296-compatibility-FMP2024-blog-600q80.jpg)
Continue Reading
![Troi File Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4540b-File-Online-Help-600q70.jpg)
![]() |
TrFile_CreateFileWithContents |
Creates a new (data) file and fills it with (text) contents in one step.
Syntax![Function badge](/wp-content/uploads/badge_function16x16.png)
TrFile_CreateFileWithContents ( switches ; filePath ; contents)
![Troi File Plug-in Online Help](https://www.troi.com/wp-content/uploads/SC4540b-File-Online-Help-600q70.jpg)
![]() |
Create File with Contents |
Creates a new (data) file and fills it with (text) contents in one step.
Syntax![Script step badge](/wp-content/uploads/badge_scriptstep16x16.png)
Create File with Contents [ Select ; Result (error) ; FilePath ; Contents ;
Create Folders ]