How to move a directory to a diferent particion
-
I try to move a directroy from C:\ drive to D:\ but Directory.Move or DirectoryInfo.MoveTo methods don't allow this. So how can I do this? And the same question for Copy.
Did we just go over this a few weeks ago?! You can't Move from one volume to another. You can only Copy the source to the destination, then delete the source. As for the Copy operation, you never showed us any code that is doing the copying and you haven't mentioned any exception messages. WIthout either of those, it's impossible to say what went wrong. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Did we just go over this a few weeks ago?! You can't Move from one volume to another. You can only Copy the source to the destination, then delete the source. As for the Copy operation, you never showed us any code that is doing the copying and you haven't mentioned any exception messages. WIthout either of those, it's impossible to say what went wrong. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome