Set HIDEFILTERATTR=h toggles instead of setting

Set HIDEFILTERATTR=h

This code toggles hide filter attribute - show hidden files / hide hidden files.
Is it possible to create a command that always hides hidden files, independently of previous state?

If you don't mind it affecting all windows:

Set GLOBALHIDEHIDDEN=On

Alternatively, if you want to keep it local to one window:

@ifset:HIDEFILTERATTR=h // No Op @ifset:else Set HIDEFILTERATTR=h

I just found out another way of doing this, but I guess ifset has better performance.

Set HIDEFILTERATTR=
Set HIDEFILTERATTR=h

Thank you for your response
...in less than 5 minutes. :thumbsup: