need help with bash -c <command> with cygpath

Jay jmandawg@hotmail.com
Fri Jan 11 19:11:00 GMT 2008


> H:\>C:\cygwin\bin\bash -v -c '\\\\UNC_PATH\\Dir'
> 
> (actually only the first really needs to be doubled, because \ has
> no special meaning if it's followed by a letter)
> 
> Phil
> 
> 

I'm getting the path from the registry via a right click menu and passing it
into the bash -c command.  
But the leading slash is getting removed on UNC paths.  
I think i'm going to have to sed it.








--
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/



More information about the Cygwin mailing list