I use KPScript with the following syntax in a vbs File:
rVal = wshshell.run ("""C:\Programme\KeePass Password Safe 2\KPScript.exe"" " & File & " -pw:" & pswd & " -c:sync -file:" & "\s2\keys\" & left(File.Name,len(File.name)-8) & ".kdbx" , 6, True)
It works, but I get an error Message, so the Script hangs there until someone comes by and presses OK.
The Messagebox says:
Keepass
Synchronisation failed
\Server1\File1.kdbx
\Server1\File2.kdbx
Der Objektverweis wurde nicht auf eine Instanz festgelegt.
I did not translate that, because the message might be quite different in english.
After pressing OK the Sync is done.
I tried it in Ver 2.18 and 2.19 (same).
Sincerly,
Axel Spallek
axel@spallek.org
Anonymous
Messagebox