NisHera
10 years agoValued Contributor
Problem with aqFile.Copy
I'm scripting with JScript
When I use " aqFile.Copy(fileFound,"C:\\my\\Temp\\New.XML",true); "
it work fine
but not for
aqFile.Copy(fileFound,Project.Variables.WorkFolder+"New.XML",true);
Project.Variables.WorkFolder is defined as " C:\\my\\Temp\\ " inboth local value as well as default value. The error msg is " Incorrect path: C:\\my\\Temp\\New.XML "
any Idea?
Project.Variables.WorkFolder is defined as " C:\\my\\Temp\\ " inboth local value as well as default value.
You need to change it to C:\my\Temp\ - with single backslashes. There's no need to escape paths in the variables edtor.