Project Description

Folder Mover enables a user to move folders/directories between different volumes/partitions.
The .Net System.IO.Directory.Move throws an IOException when trying to move folders across volumes/partitions.
It's developed in C#.Net 3.5 & works with network shares as well

Problem
The default behavior of .Net's System.IO.Directory.Move is for it to throw an IOException when the volume/partition's not the same for the source and destination paths. Directories cannot easily be moved from one partition to another.

Inner working
When a directory is moved to a destination on the same volume, .Net's normal System.IO.Directory.Move command is used to move the directory. If the source and destination is not on the same volume the files together with the sub-directories are copied to the destination directory. The source directory gets deleted after the files were successfully copied.

Last edited Oct 21, 2010 at 3:43 PM by jdstuart, version 9