This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Running OpenOffice from in cygwin.
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 12 May 2007 23:49:51 -0700
- Subject: Re: Running OpenOffice from in cygwin.
- References: <20070513063545.GB1264@SALTERDUKE2>
- Reply-to: cygwin at cygwin dot com
Brian Salter-Duke wrote:
> d) Anywhere - "swriter /tmp/ME3268/WSPC.doc" does not open and leaves no
> messages. It seems to not like a full path.
/tmp/anything is a POSIX path. Only Cygwin apps can understand these
kind of paths, because they are a fiction invented by Cygwin. You have
to give OO a win32 path, because it's a native Windows application, just
like any other non-Cygwin program. See man cygpath, e.g. swriter
"$(cygpath -w /tmp/ME3268/WSPC.doc)". The quotes are essential if the
path expands to something containing a space. Having OO in the PATH is
unnecessary as well, you can just refer to it by its fully qualified
name, e.g. /path/to/swriter "$(cygpath -w /foo/bar/whatever)"
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/