I'm playing with the VaultCmdLineClient API. When I run the following:
vault.exe BATCH -username x -password x -host x -repository -x batch.txt
batch.txt has the following:
history $/folder1
history $/folder2
However, I only get the results for $/folder1
I added a Console.WriteLine in while (null != (strCmd = cmdlineargs.BatchTextReader.ReadLine())) in the Main method. What I see is:
BATCH CMD: history $/folder1
BATCH CMD: history $/folder2
<vault>
<history>
...
With the XML all being for folder1. Is there something I need to change? Is the history command not supported in batch mode?
BATCH file with multiple HISTORY commands
Moderator: SourceGear
I tried this with the Command Line Client for Vautl 3.5.2. It returned history on both.
Try the batch file with just "history $/folder2." Does it return history on Folder2?
If not, are there any error messages?
If it does return history, perhaps the batch command is running into some sort of row limit when you run both history commands.
Try adding the option -rowlimit 0, which eliminates any rowlimit.
Try the batch file with just "history $/folder2." Does it return history on Folder2?
If not, are there any error messages?
If it does return history, perhaps the batch command is running into some sort of row limit when you run both history commands.
Try adding the option -rowlimit 0, which eliminates any rowlimit.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager