Tango 0.99.9 Kai released

Nathan Tuggy bugzilla at nathan.tuggycomputer.com
Wed Feb 10 15:12:29 PST 2010

On 2010-02-10 14:18, Nick Sabalausky wrote:
> "div0"<div0 at users.sourceforge.net>  wrote in message
> news:hkv6tn$17rs$1 at digitalmars.com...
>> Hash: SHA1
>> Nick Sabalausky wrote:
>> <snip>
>>> 4. Windows: Create a batch script "Switch to DMD Phobos.bat" that deletes
>>> the "dmd" directory tree and then copies "dmd-phobos" to "dmd". Do the
>>> same
>>> for Tango, and then run either of those when you want to switch.
>> Or use junction instead.
>> http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
>> Rather handy.
> That's awesome. Thanks. I had no idea windows could do that, and I was just
> thinking even the other day that I wished that it could. Too bad it's only
> for directories, not files, but still, that should be pretty nice to have.

Files? You want it for files too? Have I got a command for you:
fsutil hardlink create <new filename> <existing filename>

You'll need administrator privileges to run it (because most of its 
other functionality is very low-level, journaling and MFT-sizing and 
stuff like that), but it looks like it works on XP and up (2000 doesn't 
appear to support it, but I can't tell for sure). And, of course, it 
only works on NTFS partitions, but that should be a given.

More information about the Digitalmars-d-announce mailing list