I am a new LO user trying to move from OO, and need to start LO Calc from Windows 10 .cmd files.
After a cd to C:\Program Files\LibreOffice 5\program, I’ve tried the following soffice commands with the indicated results:
soffice --help
This command works correctly and displays all of the soffice options in a window.
soffice --calc
This command works correctly and creates an empty spreadsheet.
soffice --norestore --nodefault path_to_my_.ods_file
This command fails and displays the message “C:\Program Files\LibreOffice 5\LibreOffice does not exist”.
The complaint is true since there is no LibreOffice file in the LibreOffice 5 directory.
The path_to_my_.ods_file has been verified with the “if FileExists…” command .
I installed version 5.3.7.2 (64-bit). OpenOffice is still installed.