Is there a way to disable sets [] when using Masks.MatchesMask() function?
So I can match also brackets characters like this:
if MatchesMask('C:\Path\File[Name.dat', 'C:\*\File[*.dat') then ...
Thanks!
CodePudding user response:
Try to convert bracket char to a set of a bracket char:
MatchesMask('C:\Path\File[Name.dat', 'C:\*\File[[]*.dat')