How to make @hideifpath:"/mypictures" apply to all subfolders ?

//we can use (|\*) in a absolute path.
@hideifpath:C:\ProgramData(|\*)

//but can not use it in an alias path. this is ineffective.
@hideifpath:/mypictures(|\*)
// or
@hideifpath:{=Resolve("/mypictures")=}(|\*)

//we can HIDE the button in all subfolders Except for the parent path /mypictures itself.
@hideifpath:/mypictures\*
@hideifpath:/mypictures\(|*)

Is there a way to hide the button in /mypictures (alias folder) AND all subfolders in it?

@hideifpath:/mypictures
@hideifpath:/mypictures/*

But this not work:

@hideifpath:!/mypictures
@hideifpath:!/mypictures\*

It seems impossible to show a button only in /mypictures and its subfolders instead of hiding a button.

Try

@showif:=Match(source, Resolve("/mypictures"), "p")

THank you! right!

Is there a method of expressing the intent directly (not as negative of @showif)?
What should I do if I want to hide some button in directory:

C:\Test\

and in all of its sub-directories?

@hideifpath:C:\Test\*

does not work for me.

Try

@hideifpathr:C:\\Test

Thanks!