Archive: wildcard matches?


wildcard matches?
hello i'm trying to get the startmenu thing to work and since "do not create shortcuts" creates a variable that starts with > I'd like to compare the $startmenu_folder var with the ">*" wildcard string.

how do i do this? i've searched the forum and the wiki and tried to find the answer in the documentation. i've also tried every thing i could think of, but i simply cannot make a wildcard match.

please help me, or tell me about a better way of detecting if a user wants start menu shortcuts or not.


It really is quite simple:

StrCpy $R0 $startmenu_folder 1
StrCmp $R0 ">" jumpis jumpisnot

-Stu