Hi;
I managed to get my script "word" to open up word with the path I typed
on the command line in cygwin.
I am having trouble getting the same to work with excel.
I am win 2000 and using cygwin.
I made a script in /usr/local/bin called "excel".
The script will boot up excel, but not with the file I specified. I get
error messages saying that the file does not exist. Between the "==="
lines are the different contests I have tried for my "excel" script:
version 1
============================================================
exec "c:/Program Files/Microsoft Office/Office/EXCEL.EXE" "cygpath -w $1"
===========================================================
version 2
exec "c:/Program Files/Microsoft Office/Office/EXCEL.EXE" "@&"
Usage:
$ word /path/to/file.xls
Any ideas would be appreciated
Thanks
Steve
--
Patriotism -
Taking the plastic flag off of the SUV and trading it in for a fuel
efficient car
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Win 2000 : Open Files With Word & Excel From The Co... Steve
- Re: Win 2000 : Open Files With Word & Excel Fr... Christopher Faylor
- Re: Win 2000 : Open Files With Word & Excel Fr... Randall R Schulz
- Re: Win 2000 : Open Files With Word & Exce... Christopher Faylor
- Re: Win 2000 : Open Files With Word & Excel Fr... Thorsten Kampe
- Re: Win 2000 : Open Files With Word & Excel Fr... Steve
- Re: Win 2000 : Open Files With Word & Exce... Ajay Simha
- Re: Win 2000 : Open Files With Word & Exce... Randall R Schulz
- Re: Win 2000 : Open Files With Word & Excel Fr... Randall R Schulz
- Re: Win 2000 : Open Files With Word & Excel Fr... Randall R Schulz
- Re: Win 2000 : Open Files With Word & Exce... Michael Schaap
- Re: Win 2000 : Open Files With Word & ... Randall R Schulz
- Re: Win 2000 : Open Files With Word & Excel Fr... Karl M