Forum Discussion

kaivi's avatar
kaivi
Contributor
7 years ago

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\b...
  • kaivi's avatar
    7 years ago

    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");