How to set hide button when a certain path doesn't exist

I looked up the help documentation and found two modifiers @hideif and @existif I use @hideif :@ifexists:"X:", doesn't seem to work. I carefully checked @hideifpath's explanation of the command, and the button is hidden only when the matching folder is opened. I hope it is hidden as long as the path does not exist regardless of whether it is opened or not. May I ask how to correctly implement the hidden button when a certain path does not exist, so as to avoid jumping to a non-existing path, thus blocking the process