cygpath does not resolve symlinks?

Igor boukanov boukanov@fi.uib.no
Sun Nov 22 11:15:00 GMT 1998


I have just found that cygpath utility does not resolve symlinks. I.e. it just adjusts slashes and insert drive letters to the path. 
If I type:
cygpath -w /d/a.txt
it prints
C:\d\a.txt
and not 
D:\a.txt

even if /d linked or mounted on //d

This is just annoying and prevents me to put a perfect replacement for windows start command
in my .bashrc
start() { cmd /C start /i `cygpath -w $1` ; }

So the questing is:
How can I convert from a shell script a cygwin path tp a real windows one?

With best regarsd, Igor Boukanov
Igor.Boukanov@fi.uib.no
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list