Default Unpack Files Filemask
Posted: 22 Feb 2012, 13:15
There are some (un)archivers that ignore Windows special wildcard handling concerning *.* and take the pattern literally, i.e they do not treat *.* as * as windows does but match *.* only to a name containing an actual dot character. The most prominent archiver doing this being 7-Zip (I am speaking about the program here, not the plugin). With these (un)archivers, leaving the default file pattern may lead unexpectedly to incomplete extraction of an archive. Any file without an extension and possibly entire folder trees within the archive are not matched and therefore not extracted by these programs unless you change the file pattern yourself.
Since Windows itself, and any other program I am aware of, matches that * pattern against all files, thus operate as expected when you specify a pattern of * rather than *.*, I hereby propose to change the default pattern in that AS dialog from *.* to *
Alternatively you could add a field to specify the default pattern in the configuration of 'Unpackers in Unpack Dialog Box', but I don't think the additional flexibility this would bring above the proposal above is really needed.
Another thing concerning file masks, though, is the fact that not all (un)archivers support a list file as parameter. Please add a variable to use as a parameter in the Arguments field, resolving to the file mask as entered in the dialog (something like $(FileMask) )
Since Windows itself, and any other program I am aware of, matches that * pattern against all files, thus operate as expected when you specify a pattern of * rather than *.*, I hereby propose to change the default pattern in that AS dialog from *.* to *
Alternatively you could add a field to specify the default pattern in the configuration of 'Unpackers in Unpack Dialog Box', but I don't think the additional flexibility this would bring above the proposal above is really needed.
Another thing concerning file masks, though, is the fact that not all (un)archivers support a list file as parameter. Please add a variable to use as a parameter in the Arguments field, resolving to the file mask as entered in the dialog (something like $(FileMask) )