Delen via


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

How to: Rename a File in Visual Basic

How to: Rename a Directory in Visual Basic