This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
need help with bash -c <command> with cygpath
- From: Jay <johnmoon77 at gmail dot com>
- To: cygwin-talk at cygwin dot com
- Date: Tue, 8 Jan 2008 23:59:32 +0000 (UTC)
- Subject: need help with bash -c <command> with cygpath
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
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.