delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/16/20:20:31

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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C40F334.8040209@users.sourceforge.net>
Date: Sat, 17 Jul 2010 08:03:00 +0800
From: JonY <jon_y AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Win64 FS redirectors and Cygwin
References: <4C406FFF DOT 5040106 AT users DOT sourceforge DOT net> <20100716152201 DOT GB24200 AT calimero DOT vinschen DOT de> <4C40778C DOT 9040002 AT users DOT sourceforge DOT net> <20100716160131 DOT GG6944 AT calimero DOT vinschen DOT de> <20100716160424 DOT GA26047 AT calimero DOT vinschen DOT de>
In-Reply-To: <20100716160424.GA26047@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 7/17/2010 00:04, Corinna Vinschen wrote:
>>
>> It's a valid OS path.  The unfortunate side effect of its virtuality is
>> that it's not listed in a readdir call, so file completion doesn't work.
>> However, there's a funny workaround.  Just start an elevated bash:
>>
>>    $ cd /cygdrive/c/Windows
>>    $ export CYGWIN=winsymlinks
>>    $ ln -s temp-file-name sysnative
>>    $ cmd /c ren temp-file-file.lnk sysnative.lnk
>
> s/temp-file-file/temp-file-name/
>
>

Thanks, this works nicely.

A minor nit with the commands, the ln directories should be switched 
around, otherwise temp-file-name.lnk gets placed in sysnative as I've 
found out.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019