New
#1
How to run a program and copy text to the clipboard
Hi everyone,
I'm running a program that requires me to enter a Serial number every time a start it. So can i start it and automatically copy my SN to the clipboard so I can paste it right away, and I used to run the program from task bar shortcut.
any way I use this .bat file:
@echo off
start "Program" "C:\Program Files\program\program.exe"
start "SN" "C:\Program Files\program\xxxxxx.txt"
so it opens the text file right away, but I want to copy it right away without having to switch to the text file and close it