in reply to unlink and -U

If you are using win9x you can use system "deltree /Y", $path; to delete a directory.
On Win2k/WinNT you can use system "rmdir /S/Q", $path;

--

flounder