Urgent! Fileset functions don't count correctly

Also tested with Windows 7 x64.

There is serious problem with filesets and iterative functions like "FileSet Iterator" or "FileSet Delete Files".

If you use in a fileset as include pattern something like "*.exe" the iterative function will work with all files which match to "*.exe*".

The function finds and works with "abc.exe" as well as "abc.exe_bak", "abc.exebak", ....

This behaviour produces "nice" errors you don't understand at first sight if you await for instance that 2 files are copied or deleted and not 10.

I send an test project with history and files as an attachment. You have to set the three path variables to a valid value before using it.

Regards,

Thomas.

 

 

Test_Fileset_Iterator.zip (42.515 KB)

Hi Thomas,

This is the way that the Windows API for file searching works. For instance if you have a folder which contains files with both the .txt and .txts extension. If you run ‘dir *.txt’ from the command prompt you will see that files with both .txt and .txts extensions are listed.

We hope to add the ability to use Regular Expressions to specify include and exclude patterns for the FileSet define action for FinalBuilder 8. This would allow users to user greater precision for selecting files.

Regards,
Steve