PRB: CopyFolder Syntax Is Different for UNC Paths and Mapped Drive Paths (251339)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q251339 SYMPTOMS
When attempting to use the CopyFolder method of the FileSytemObject, you get the following error message:
Error 5: Invalid Call or Procedure
CAUSE
You specified a Universal Naming Convention (UNC) path for the source but did not include the wildcard (*) character.
REFERENCES
MSDN Help Index : CopyFolder method
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbprb KB251339 |
---|
|