The "Showcase" sub forum has not been knocked over in the rush so I thought I should post something in it. Simple to use, the syntax is as follows. If you run the app from the command line it produces the syntax below.
clipb Command Line Clipboard Application
Wickedly crafted in 64 bit Microsoft Assembler <MASM>
Copyright The MASM32 SDK, 1997-2019
All Rights Reserved
clipb /set
any text after /set will be written to the clipboard
EXAMPLE : clipb /set This is the text after the 1st arg
clipb /get
get clipboard text and display it at the console
clipb /get does not accept any arguments
clipb /clr
clear all text from clipboard
Assigning the output of clipb to an environment variable :
clipb-test.bat :
clipb.exe /set %Username%
FOR /f %%i in ('clipb.exe /get') do @SET cb=%%i
echo %cb%