Help and Support

DOC: Using Wildcard Extension with SHFileOperation

Article ID:182820
Last Review:July 11, 2005
Revision:1.2
This article was previously published under Q182820

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.

APPLIES TO
Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
  Microsoft Windows NT Server 4.0 Standard Edition
  Microsoft Windows NT Workstation 4.0 Developer Edition
  Microsoft Windows 95
  Microsoft Internet Explorer 4.0 128-Bit Edition
  Microsoft Internet Explorer 4.01 Service Pack 2

Back to the top

Keywords: 
kbshell kbdocfix kbpending KB182820

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.