Here's a revised version of the script. Now handles long folder/file names, checks server version is 2000 or 2005.
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare