This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
cygpath does not resolve symlinks?
- To: gnu-win32 at cygnus dot com
- Subject: cygpath does not resolve symlinks?
- From: "Igor boukanov" <boukanov at fi dot uib dot no>
- Date: 22 Nov 1998 19:13:27 -0000
- Cc: igor dot boukanov at fi dot uib dot no
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".