kaivi
7 years agoContributor
run a commandline in tC
Hey,
I'm trying to execute a cmd command in TC and I'm starting to get mad. I tryed this in div. variations.
Sys.OleObject("WScript.Shell").Exec("cmd /K C:\Program Files\Beyond Compare 4\bcompare.exe C:\Development\CES_Testsuite\BeyondCompare\ScriptInput\bcScript.txt");
I wanna start the .exe with a "Script.txt". If I try this command in the cmd it works. How do it work's with TC?
best regards
Kai
got it on my own
Sys.OleObject("WScript.Shell").Exec("cmd /K \"C:\\Program Files\\Beyond Compare 4\\bcompare.exe\" @C:\\Development\\CES_Testsuite\\BeyondCompare\\ScriptInput\\bcScript.txt");