Hello,
I'm am having syntax issues within the Arguments when trying to copy a file with cmd.exe using User Variables.
It works when I hard code the arguments : /c copy /b "\\folder1\file.txt" "\\folder2\file.txt"
However, it's failing when I try using User Variables to replace the directory and file.
User::FILES = \\folder1\file.txt
User::FILE_NAME = file.txt
"/c copy /b + @[User::FILES] + \" \\\\folder2\\" + @[User::FILE_NAME]"
Does anybody know what's wrong with my syntax?
Thanks!