Script functions reference > Script functions in alphabetical order > S > SetDestPath

SetDestPath
Syntax
SetDestPath(path_1[;path_2;...], [str_1 [,str_2...str_N]]);
path 
str 
One or more strings that replace %1 etc in the file specification string resulting after the % path substitution above.
Description
Sets a destination path, and optionally, a destination file.
Returns
N/A
Example
//Sets a destination path
setdestpath(\\network\printer);
//Creates two files: Test1.pdf and Test2.pdf
setdestpath("Test1.pdf; Test2.pdf");
//Creates two files: adam.pdf and adum.pdf
setdestpath("a%1.pdf; a%2.pdf", "dam", "dum");
OpenText StreamServe 5.6 Updated: 2013-03-01