delorie.com/archives/browse.cgi | search |
Hi! Thursday, 22 February, 2001 Corinna Vinschen cygwin AT cygwin DOT com wrote: >> When you create a symlink/shortcut in Cygwin which in turn points to a >> shortcut it will remain this way. Explorer tries to resolve the path >> again but it will not show any target path for some reason. There's >> still a difference in the shortcuts created by Cygwin in contrast to >> shortcuts created by U/WIN. I will try to figure out what it is. CV> Just found the reason. I have checked in two patches already. CV> One to repeal that difference to U/WIN, another to solve a problem CV> when trying to open a file via a symlink. try this: ================================== cd /tmp mkdir -p symlink_test/1 mkdir -p symlink_test/2 touch symlink_test/1/1.fil touch symlink_test/2/2.fil cd symlink_test ln -s 1 t1 ln -s ../2 t1/new_2 cd /tmp mv symlink_test ~/ cd ~/symlink_test/t1/new_2 ls ================================== ls should show 2.fil now open <your_home_dir>/symlink_test/1/ with explorer and oops, new_2 isn't shortcut anymore. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |