cokynContributor13 years agoCHDIR and run *.bat file from the current dirI would like to run bat file from script but when I tried to do that I encoutered error. That was because the bat file needs to be started from certain location (there are defined relative paths insid...Show More
TanyaYatskovskaAlumni13 years ago Hi Martin, I suppose you need to add "\\" between the folder and the file name in your path: WScriptObj.Exec("chdir "+"\\"+ESI_run_bat_location); Does this work?
Recent DiscussionsDownload an Earlier Version of TestCompleteSolvedAzure Pipeline InstallTestCompleteAdapter Not Working Properly with Windows Server 2025Renaming a project suite under git control
Related Contentrunning exe or bat file in groovyTest Runner bat via Octopus DeployHow to run a batch (*.bat) file from TestComplete (Javascript)