Button to create a shorcut named like the parent folder

I don't know why this code don't work:
Clipboard SET={file│noext}.ink
Copy makeshorcut to="{sourcepath}"
Select NONE
Select {clip}

But nothing is select. Anyone who tell me what this doesn't work?

Unless you just retyped it and made mistakes, a) the shortcut suffix should be .lnk, not .ink, and b) the Copy argument is makeshortcut, not makeshorcut.

Thanks for let me know. Is a typing error

I don't know why this code don't work:
Clipboard SET={file│noext}.lnk
Copy makeshortcut to="{sourcepath}"
Select NONE
Select {clip}

But nothing is select. Anyone who tell me what this doesn't work?

Try this, which seems to work and won't overwrite your clipboard:

@nofilenamequoting Copy MAKESHORTCUT HERE Select "{file|noext}.lnk" DESELECTNOMATCH

(By the way, your button still had an invalid character in it: │ is not | )