I\'ve got a folder:
c:\\test
I\'m trying this code:
File.Move(@\"c:\\test\\SomeFile.txt\", @\"c:\\test\\Test\");
According to the docs for File.Move there is no "overwrite if exists" parameter. You tried to specify the destination folder, but you have to give the full file specification.
Reading the docs again ("providing the option to specify a new file name"), I think, adding a backslash to the destination folder spec may work.