Originally Posted by palmtree5
Something I just found out the hard way is this doesn't deal with directories that contain spaces in their names...
Tsk...tsk...tsk... Spaces in file names.
Experiment with quoting/escaping the commands that refer to directories. If you run up against a brick wall, shout!