Is it possible to tell Excel to open a file from the command line?
In Linux, I could do this using the command
libreoffice --calc test.xlsx
command linems office
Is it possible to tell Excel to open a file from the command line?
In Linux, I could do this using the command
libreoffice --calc test.xlsx
Best Answer
You can use the open command:
This will use the default application for the file type, which may not be the desired application.
or, to specify the application explicitly:
or even,
A really useful way of doing this is to make an alias to Excel (in your
.bash_profile
)Then you can just type the following to open an file in Excel: