Unopkg generates an empty output file from vbscript

Stephan Bergmann sbergman at redhat.com
Fri Jun 23 09:44:02 UTC 2017


On 06/23/2017 11:11 AM, Marta Rossi wrote:
> I'm running a script (VBS on Windows 7) that generates an output file with the
> LibreOffice extensions installed:
> 
>     
>      Set objShell = WScript.CreateObject ("WScript.Shell")
>      Set objExecObject = objShell.Exec ("cmd /C C:\Program Files\LibreOffice 5\program\unopkg.exe list --shared > C:\listext.txt"
> 
> The generated listext.txt file is empty (0 KB)

No idea what "VBS on Windows 7" is, but maybe the problem is something 
as trivial as missing quoting of "C:\Program Files\LibreOffice 
5\program\unopkg.exe" in that Exec call?


More information about the LibreOffice mailing list