What I do to easily switch between different DMD versions and libraries on Windows
Don Clugston
dac at nospam.com.au
Wed Jun 20 07:25:20 PDT 2007
Daniel Keep wrote:
>
> Henning Hasemann wrote:
>> "Anders Bergh" <anders1 at gmail.com> schrieb (Wed, 20 Jun 2007 12:45:30
>> +0200):
>>
>>> http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx
>>> This tool lets you create directory symlinks (NTFS junctions).
>> Cool I didnt know Windows has "already" something that comes close to
>> "real" symlinks.
>>
>> Henning
>
> They aren't. You need to be very careful with junctions. Firstly, if
> you delete a junction directly, you will delete the original folder as
> well! To make this worse, there is no way to tell from explorer if a
> folder is a junction or not.
A solution to this would be to change the icon while making the junction.
Anyone changed a folder icon before? Probably just an API call to set file
attributes.
> Anders' trick is still cool, but just be very careful with it. MS
> didn't write a tool to create junctions for a very good reason :)
>
> -- Daniel
More information about the Digitalmars-d
mailing list