This is the mail archive of the
cygwin
mailing list for the Cygwin project.
need help with bash -c <command> with cygpath
- From: Jay <jmandawg at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 9 Jan 2008 01:52:31 +0000 (UTC)
- Subject: need help with bash -c <command> with cygpath
When i run
>cygpath -a '\\uncpath\mydrive$'
//uncpath/mydrive$
Which is the expected behaivor.
When i run
>bash -i -c "cygpath -a '\\uncpath\mydrive$'"
/C/uncpath/mydrive$
Which is not what i want. I'm trying to pass in the unc path from windows, so
it needs converted.
Why do i get different results depending on how it is called?
Thanks in advance.
Jay.
--
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/