stein_oddvar_ra
9 years agoContributor
How can I set the default directory when running batch files in TC11.31?
In our TestComplete project we use a number of batch-files (.bat/.cmd) to run applications and scripts. These were located on a shared network drive, mapped to the client with a drive letter.
In TC10 the batch-files ran without problems, but in TC11 we are getting an error:
"'\\SERVER\Path to app\bin\'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to windows directory."
And my batch-scripts fail in several places.
When I add applications (batch-files) to TestedPrograms using drive letters, the program is run using UNC-path.
Is there a way to force TC11 to use the drive letters instead of the UNC-path?