I am trying to get the latest version of a project from a label using the command line client but cannot get it to work. I run the following command with the necessary info filled in:
vault getlabel -host vault.company.com -user "Build User" -password "MyPassword" -repository "QA" -destfolder "C:\builds\sourcetree" "$/Automated Tests" "My Label"
and the error I get is 'vault' is not recognized as an internal or external command, operable program or batch file. I also tried it with vault.exe and it still didnt work. Any ideas?
Command Line client error
Moderator: SourceGear
Have you tried specifying the full path to the vault command line client in your command line?
Alternatively, you can put the Vault Client directory in your path.
Code: Select all
"c:\program files\sourcegear\vault client\vault.exe" getlabel -host vault.company.com -user "Build User" -password "MyPassword" -repository "QA" -destfolder "C:\builds\sourcetree" "$/Automated Tests" "My Label"