![]() |
bug with copy files wildcards/filemasks
I am copying files from a source directory tree (recursively) into a flat folder destination (copy all fies to root destination)
I have the Include mask set to: *.exe *.pdb And the exclude mask is: Setup.exe txnlogsearch*.* txlog.* /obj /External.NET /Common.NET AMS.Profile.pdb WagonCommon.pdb What i am noticing is that i have a built component called TxLogViewer.exe (and .pdb). These are being excluded from the copy step and i have found it is due to the exclusion TxLog.* (when i remove this line from the exclusion, the files copy OK). The aim of this step is to copy all c++ built exe and pdb files (including TxLogViewer.exe) but i dont want to copy another .NET component which is called TxLog.exe It seems that the exclusion TxLog.* is being treated like TxLog*.* I have tested this on the latest 5.7 version and it is still happening In my mind, the wildcards should work as they do in DOS. i.e TxLogViewer should not cause a match on wildcard TxLog.* - only TxLog*.* Code:
C:\wagering\wagon\main\code\TxLogViewer\Debug>dir TxLog.* |
That is in fact a bug (surprising that nobody ran into it until now). A workaround is to use
txlog.?* |
yeah it is surprising no-one came across it until now!
in the meantime, thanks for the work around :) |
All times are GMT -5. The time now is 07:49 AM. |
Copyright © 1999-2023 Kinook Software, Inc.