Skip to content
Discussion options

You must be logged in to vote

That suffix is added by the Windows GUI save logic in v4.0.0. In SaveNewRuleCommand, anything other than * gets .exe appended unless it already ends in .exe, contains .exe , or contains a semicolon. So NAME* becomes NAME*.exe, exactly as you observed.

For your use case, that normalization changes the meaning of the wildcard: NAME*.exe will not match NAME.exe.old.12345, because the latter does not end in .exe.

A version-specific workaround to try is a semicolon-separated pair:

NAME.exe;NAME.exe.old.*

That bypasses the suffix-appending branch while keeping the match limited to the normal executable and its renamed versions. Reopen the saved rule and check that the pattern is retained, then…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NikitaVirshych
Comment options

Answer selected by NikitaVirshych
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants