Directory.Move doesn't work (file already exist)
Posted
by phenevo
on Stack Overflow
See other posts from Stack Overflow
or by phenevo
Published on 2010-03-31T12:55:26Z
Indexed on
2010/03/31
13:33 UTC
Read the original article
Hit count: 293
I've got main folder:
c:\test
And there I have 2 folders: Movies and Photos.
Photos has three folders with files with the same structure: People, Animals and Buildings. I'm trying this code:
Directory.Move(@"c:\test\Movies", @"c:\test\Test");
I get exception:
File already exists
© Stack Overflow or respective owner