We use the command line runner to execute a vbscript that does some database operations, then some file operations, and then tries to run some shell comands to affect PVCS. The script has been written so that it can be run manually, with a switch changing logging from normal to teamcity service messages. The script works on the command line, but fails from the command line runner. The executables are in the path, and running the failed commands (as output in the log) manually works.
Team city and its agents run as the teamcity user. This user has been given full control of the repository directory (mapped as v:\pvcs) and a temp work directory (d:\build). I really need help here - trying to work out why this command fails from inside teamcity.