You need to write a batch file say excel.bat
Assume you have excel.exe in C:\Program Files\Microsoft Office\Office and your excel program is myspreadheet.xls
Add this path to the PATH in the environment variable
C:\Program Files\Microsoft Office\Office
In that include the following commands(an example)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.