Use rmdir() instead of unlink() to delete www in Windows.