Write ti text file

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.

You need to escape the % with another %,

call collect_backups.cmd B:\backup_storage%ServerName% %ServerName% %%1