Wildcards in file copying do not work correctly!

Answered Wildcards in file copying do not work correctly!

  • Thursday, November 15, 2012 2:50 AM
     
     
    "*.sql" also affects "123.sqlsettings" etc.

All Replies

  • Friday, November 16, 2012 4:48 AM
     
     Answered

    It's by design. Thats something to do with the 8.3 naming convention. From memory the command strip the long file name extension to 3 to make the match after. I lost my documentation about that, but I found you a older document that told that too;

    http://technet.microsoft.com/en-us/library/cc976806.aspx

    Use wildcard characters such as the asterisk ( * ) and question mark ( ? ) carefully in conjunction with the del and copy command-line commands. Windows 2000 searches both long and short file names for matches to the wildcard character combination you specify, which can cause additional files to be deleted or copied.


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/