Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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