Page 1 of 1
Batch loading a text from file and copying it to clipboard
Posted: 23 Jul 2012 12:55
by silent
Hi,
I want to make a batch program that would load a text from a file and then copy it so when i use ctrl + v it will paste the text from the file.I know how to get a text from a file but i dont know if it is possible to set it to ctrl + v.If its not,then in what languages i can make that ?
Re: Batch loading a text from file and copying it to clipboa
Posted: 23 Jul 2012 12:58
by Squashman
I believe both Vista and Windows 7 come with the CLIP command to copy output to the Clipboard.
You can then use CTRL + V to paste it into Notepad or wherever else.
http://www.windows7hacker.com/index.php ... ows-7-tip/
Re: Batch loading a text from file and copying it to clipboa
Posted: 23 Jul 2012 13:03
by silent
Well i tried it,and a other thing and it doesnt copies the text.
It doesnt copy
Also tried something with C:/ on start of the line but it also didnt worked.
I want to do it on WinXP and on other windows like win7.
Tried Dos2Clip but it only works when i type something in the dos2clip.exe,and i cant do what i want
Re: Batch loading a text from file and copying it to clipboa
Posted: 23 Jul 2012 13:14
by Squashman
silent wrote:Well i tried it,and a other thing and it doesnt copies the text.
It doesnt copy
Also tried something with C:/ on start of the line but it also didnt worked.
I want to do it on WinXP and on other windows like win7.
Tried Dos2Clip but it only works when i type something in the dos2clip.exe,and i cant do what i want
What did you try and how did you try to use it?
Re: Batch loading a text from file and copying it to clipboa
Posted: 23 Jul 2012 13:19
by silent
Problem solved,downloaded CLIP.exe and now it works fine.