Sys.OleObject("Wscript.Shell").Run('cmd /k(cd c:\"Program Files (x86)\"\TheFolder\program client & program SETWORKINGFOLDER "$//Test Complete Scripts" "C:\dave" -host 184.108.40.206 -user "Johndoe" -password "mypassword" -repository "RepoFolder" & program GET -host 192.168.254.226 -user "Johndoe" -password "mypassword" -repository "RepoFolder" "$//Test Complete Scripts" -merge overwrite -setfiletime current)');
for the variables I've tried this:
var userName = '"Johndoe"';
any help is appreciated! thanks!