I see no reason why a function similar on concept to what you write, i.e., one that applies cygpath to convert full Windows paths to cygwin style paths, should not work. I have a number of simple function that do the opposite, allowing me to invoke Windows programs (such as Word) with cygwin paths by converting to the equivalent Windows path first.
This requires careful attention to quoting and such, but is conceptually not that hard. If you end up struggling with it, I can probably write something suitable for you ... Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple