How to print in the filename and filepath using template.printSummaryUsing the following in the template.print, will remove the \ from the printed value in the email that is generated. template.print('path=\\server\folder1\folder2\file.txt); The above line will print - path=\serverfolder1folder2file.txt ReleaseAll Versions.InstructionsThis is an expected behavior where the \ in a file path needs to be escaped explicitly. To get this print correct, escape every \ with an other \. template.print('path=\\\\server\\folder1\\folder2\\file.txt); OR template.print('path=/\/\server/\folder1/\folder2/\file.txt);