Just a note: I've moved mklink2.c to a .cc file to bypass the 'not a prototype' error that folk with recent w32api installs may have seen. Rob