How to use %$CLIPBOARD% correctly ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
d4t0r
Junior Member
Junior Member
Posts: 2
Joined: 2025-03-16, 19:08 UTC

How to use %$CLIPBOARD% correctly ?

Post by *d4t0r »

I'm trying to use %$CLIPBOARD$ to pass it to Edge instead of ? at the beginning and pasting URL manually.
Unfortunately it doesn't work.
Opened url is [clipboard]
What am I doing wrong?

Code: Select all

TOTALCMD#BAR#DATA
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
%$CLIPBOARD%
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
Edge


-1
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: %$CLIPBOARD%

Post by *white »

Try %|$CLIPBOARD|

The help says:
%|envvar|
Insert environment variable envvar in the parameters field. Using %envvar% directly isn't possible, because the % sign is already used for placeholders. Therefore this modified syntax needs to be used. The "command" field still uses the normal %envvar% field.
d4t0r
Junior Member
Junior Member
Posts: 2
Joined: 2025-03-16, 19:08 UTC

Re: %$CLIPBOARD%

Post by *d4t0r »

Thank you!
Did the job.
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: %$CLIPBOARD%

Post by *Fla$her »

%|$CLIPNAME_NE1| is better.
Overquoting is evil! 👎
Post Reply