in reply to Moving folders to new directory location

Why do you think that File::Copy is not what you're looking for?

Have you looked at the xcopy tool that comes with Windows?

Replies are listed 'Best First'.
Re^2: Moving folders to new directory location
by RaynMan (Initiate) on Jun 23, 2010 at 21:33 UTC

    It needs to be writte in perl. It is an assigned task that I have recieved at work. Can I use File::Copy to move directories???

      Perl can launch xcopy using system.

      You will have to copy + delete anyways, so you can also use File::Copy and File::Path to delete the directories afterwards. Although when deleting things, I hope you have good and tested backups.