Hey, I need to write a little .bat script that will place a predetermined string of characters into the clipboard, ready for immediate pasting. Is there any way to do such a thing? For instance, in my script, I would like to set the "mystring" variable to say "#$ERdfcv34/l" , and when the script runs, it places that string to my clipboard, so I can just paste it. Any way to do that?

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.