Friday, 3 January 2020

CMD - get clipboard text

for /f "eol=; tokens=*" %I in ('powershell Get-Clipboard') do set CLIPBOARD_TEXT=%I

No comments:

Post a Comment