DOC: Using Wildcard Extension with SHFileOperation

ID: Q182820


The information in this article applies to:


SUMMARY

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:

The source and destination filenames are the same.
In addition, no files will be moved or copied.


MORE INFORMATION

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.

Additional query words:


Keywords          : kbcode kbdocfix kbLib kbNTOS400 kbWinOS95 kbWinOS98 kbshell kbGrpShell 
Version           : WINDOWS:4.0,4.01,95
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: June 23, 1999