# Write ti text file

**URL:** https://www.finalbuilder.com/forums/t/write-ti-text-file/5401
**Category:** Discussion
**Created:** [September 3, 2015, 11:08am UTC](https://www.finalbuilder.com/forums/t/write-ti-text-file/5401 "2015-09-03T11:08:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ranch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ranch](https://www.finalbuilder.com/forums/u/ranch)
#### Post date: [September 3, 2015, 11:08am UTC](https://www.finalbuilder.com/forums/t/write-ti-text-file/5401/1 "2015-09-03T11:08:52Z")

</div>

Hi,  
  
Getting an error when trying to add %1 at the end of the line. call collect\_backups.cmd B:\backup\_storage%ServerName% %ServerName% %1  
What is the correct syntax for that?  
  
Cheers.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 3, 2015, 11:20am UTC](https://www.finalbuilder.com/forums/t/write-ti-text-file/5401/2 "2015-09-03T11:20:52Z")

</div>

You need to escape the % with another %,   
  
 call collect\_backups.cmd B:\backup\_storage%ServerName% %ServerName% %%1
