Version française
Home     About     Download     Resources     Contact us    
Browse thread
[WISH] Unix.fstat and symlinks for win32
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <debian00@t...>
Subject: Re: [Caml-list] [WISH] Unix.fstat and symlinks for win32
On Tue, 01 Feb 2005, "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl> wrote:
> 
> Christophe TROESTLER <Christophe.Troestler@umh.ac.be> writes:
> 
> > Also, why not treat *.lnk as symbolic links under win32?
> 
> What do you mean? It's the OS which treats symlinks on Unix, and
> Windows doesn't. For example you can't put a "link" to a directory
> in the middle of a path. And you *can* edit its contents (which is
> meaningless for a Unix symlink). It makes no sense to pretend that
> they are the same when they are not.

I did not pretend that *.lnk are equivalent to Unix symlinks -- I know
they are not.  What I was proposing is that, since the symlinks
functions of the Unix module are "not implemented" for win32, it may
be a good use of them to make them create/manipulate *.lnk files.  The
open_* functions need not to follow *.lnk's but the functionality
would be there if so one wishes.  Some infos about the format on
http://www.wotsit.org/search.asp?page=2&s=windows

ChriS