Win 2000 : Open Files With Word & Excel From The Command Line
Michael Schaap
cygwin@mscha.org
Sat Feb 15 18:00:00 GMT 2003
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/
More information about the Cygwin
mailing list