delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/05/20:12:16

X-Spam-Check-By: sourceware.org
Date: Sat, 5 Aug 2006 20:12:03 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin, Coda and symbolic links
Message-ID: <20060806001203.GF3109@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <44D27B36 DOT 1090400 AT andrew DOT cmu DOT edu> <20060804090559 DOT GD8152 AT calimero DOT vinschen DOT de> <44D3963B DOT 6090107 AT andrew DOT cmu DOT edu>
Mime-Version: 1.0
In-Reply-To: <44D3963B.6090107@andrew.cmu.edu>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Fri, Aug 04, 2006 at 02:47:23PM -0400, Adam Wolbach wrote:
>>http://www.google.com/search?as_q=windows+shortcut+file+format
>>
>>The first match
>>
>>http://mediasrv.ns.ac.yu/extra/fileformat/windows/lnk/shortcut.pdf
>>
>>is what you're looking for and what I used when implementing the
>>shortcut stuff.
>>
>
>Thanks, this gets me more than halfway to what I need to know -- the 
>missing piece is how these fields need to be filled out to appear as a 
>symbolic link to cygwin. Worst case I can just hunt through the cygwin 
>source, but if you happen to know or have notes lying around somewhere, 
>it might be useful to more than just us to post them somewhere. Thanks 
>again.

Is there some reason why you aren't just using cygwin's symlink()
function?  Reverse engineering and mimicking cygwin's symlinks seems to
be a pretty fragile way of writing an application which will play nicely
with cygwin.  What if we change the way symlinks are written at some
point?

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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