2009-04-27

Symbolic links in Windows

Surprisingly, all the good Windows features are hidden, undocumented and hard to find. It took me nearly a decade to accidentally find out that Windows has symbolic links. They are called NTFS Junction Points. However their support is limited to directory links, and the usage is a bit weird.

Oh, and you have to install Windows Resource Kit to get the functionality. You can download it from any of these locations:


The command you want is linkd. Let's take it for a spin.



The sandbox contains a directory named original with text.txt inside.

To create a symbolic link named symlinked that points to original, the command is linkd symlinked original. In POSIX it would be ln -s original symlinked.



When calling dir, symlinked shows as "junction". The other behavior is like a plain folder. In explorer you cannot tell the difference between the two.



To delete the symlink use rmdir, because del will attempt to remove the files from original directory.

2009-04-20

Oracle buys Sun


For a moment I thought this was a late April 1 joke, but obviously it's not. Oracle is buying Sun. It should have been IBM... The worst case of this impact is that Java is doomed to become an enterprise drone database integration language and MySQL is... Well... Simply F*cked.

Hopefully Oracle will keep their hands away from core Java (SE) and the JVM, otherwise it will be time to change camps.