.bat file to place text in clipboard?

Please support our Legacy and Other Languages advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2005
Posts: 232
Reputation: nathanpacker is an unknown quantity at this point 
Solved Threads: 0
nathanpacker's Avatar
nathanpacker nathanpacker is offline Offline
Posting Whiz in Training

.bat file to place text in clipboard?

 
0
  #1
Nov 12th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3
Reputation: johnny3d is an unknown quantity at this point 
Solved Threads: 1
johnny3d's Avatar
johnny3d johnny3d is offline Offline
Newbie Poster

Re: .bat file to place text in clipboard?

 
0
  #2
Jan 6th, 2009
Here is an article that should give you what you need: http://www.labnol.org/software/tutot...clip-exe/2506/
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Legacy and Other Languages Forum


Views: 1588 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Legacy and Other Languages
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC