Article ID: 182820 - View products that this article applies to.
This article was previously published under Q182820
In earlier versions of the Platform SDK documentation for SHFILEOPSTRUCT, there is nothing that specifically states that wildcards cannot be used for destination. In fact, version 4.00 of the shell did allow the use of wildcards in the destination string. Later versions of the shell are stricter about this and will display an error message with the following text:
In addition, no files will be moved or copied.
The source and destination filenames are the same.
SHFileOperation was never designed to accept wildcards in the destination, however, some versions of the documentation for SHFILEOPSTRUCT do not exclude the use of wildcards. Later versions of the documentation do specifically exclude the use of wildcards in the destination.
Article ID: 182820 - Last Review: July 11, 2005 - Revision: 1.2
Contact us for more help
Connect with Answer Desk for expert help.