Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3E4E79B1.4040704@mscha.org> Date: Sat, 15 Feb 2003 18:32:33 +0100 From: Michael Schaap User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b; MultiZilla v1.1.33 (b)) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Win 2000 : Open Files With Word & Excel From The Command Line References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030214211012 DOT 0294ea38 AT pop3 DOT cris DOT com> In-Reply-To: <5.2.0.9.2.20030214211012.0294ea38@pop3.cris.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: at mscha.org by amavisd-milter (http://amavis.org/) On 15-Feb-2003 06:14, Randall R Schulz wrote: > Steve, > > Double damn! > > Or maybe... Third time's the charm. Yeah, that's it! > > -==- > #!/bin/bash > > wwArgs=() > > for arg; do > wwArgs[${#wwArgs[@]}]="$(cygpath -m "$arg")" > done > > exec "/cygdrive/c/Program Files/Microsoft Office/Office/winword.exe" > "${wwArgs[@]}" > -==- Or maybe... -==- #/bin/sh for arg; do cygstart $arg done -==- - Michael -- 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/