delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/14/23:22:42

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: Win 2000 : Open Files With Word & Excel From The Command Line
Date: Fri, 14 Feb 2003 22:55:22 -0500
Organization: Gravitational Research Institute
Lines: 24
Message-ID: <b2kdhh$jeb$1@main.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en

Hi;

I'm on win 2000 and I am using cygwin.

I put script files called "word" and "excel" in my /usr/local/bin. These
files have the path to the ms word and ms excel executables.

They work, they bring up the apps, but I can't get the apps to take
command line arguments to open remote files.

For example:

cygwin> word c:/docs/memos/parking/myfile.doc

opens only word not "myfile.doc".

Is there any way around this?  I would love to be able to do this as it
is monumentally faster then scrolling through a file dialog box or
explorer to open up a file.

Thanks

Steve



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019