TargetFilePath specifies an existing folder
The parameter TargetFilePath specifies an existing directory but must specify the new directory's name.
To correct this error
- Change TargetFilePath to specify a new, rather than existing, directory.
See Also
Tasks
How to: Move a File in Visual Basic
How to: Move a Directory in Visual Basic