delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Steve <beforewisdom AT yahoo DOT com> |
Subject: | Re: Win 2000 : Open Files With Word & Excel From The Command Line |
Date: | Wed, 19 Feb 2003 16:46:43 -0500 |
Organization: | Gravitational Research Institute |
Lines: | 40 |
Message-ID: | <b30tqa$1gb$1@main.gmane.org> |
References: | <b2kdhh$jeb$1 AT main DOT gmane DOT org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 |
X-Accept-Language: | en-us, en |
In-Reply-To: | <b2kdhh$jeb$1@main.gmane.org> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |