# File_AppendToFile

> Appends a string to a file.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/file-functions/file-appendtofile/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Appends a string to a file

### Syntax

File_AppendToFile(sFile, sInsertString) As Boolean

### Parameters

#### sFile (String)

Filename

#### sInsertString (String)

String to append to file

### Example

**VBScript**

```vb
If bStatus Then bStatus = File_AppendToFile("C:\Temp\Test.txt", "Is the truth out there?")
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[File functions](/capainstaller/vb-scripting-library/file-functions/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
