X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_MK,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4C95E53D.5090107@alice.it> References: <4C95E53D DOT 5090107 AT alice DOT it> Date: Sun, 19 Sep 2010 11:39:46 +0100 Message-ID: Subject: Re: Cygwin and symlink From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 19 September 2010 11:26, Angelo Graziosi wrote: > I remember that some time ago (don't when, sigh!) if I had > > $ ln -sf foo.pdf slnk_foo.pdf > > I was able to read 'slnk_foo.pdf' double clicking on its icon from Explor= er > or 'Computer Resources'. Now AR complains and I can't read it. > > Is this to be expected? Yep. They're just UTF-16 text files with special attributes now. > BTW, I remember also that the icon of 'slnk_foo.pdf' had the symbol of a > link (like an 'arrow'), now it is as other PDF files icon. > > When there was the 'transmutation'? =C2=A0:-) Cygwin 1.7. Set CYGWIN=3Dwinsymlinks to switch to the old behaviour. See also http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html. Or use a hard link instead of a symlink. Or, if you're on Vista or 7, create a native Windows symlink using cmd.exe's mklink builtin (which you can call from bash using 'cmd /c mklink'). Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple