<OT> Windows question

Joel Hammer Joel
Mon May 17 11:34:07 PDT 2004


I don't think can help me. I am using 98. I wasted some time on the
Microsoft web site, but aside from a reference to it, I couldn't find this
resource kit, at least for 98.

I don't want to download anything off the net from some odd site or other as
this is a work computer and they wouldn't like that. Either would I.

Joel

On Sat, Jun 29, 2002 at 06:01:04PM -0500, Michael Hipp wrote:
> The Win2k Resource Kit has something called clip.exe:
> ----------
> clip.exe: Clip To Clipboard
> 
> This command-line tool copies text from the STDIN stream to the Clipboard. 
> You can then paste the data directly into any application that can receive 
> text from the Clipboard.
> 
> To use Clip
> Run any program that prints text to STDOUT and pipe the results through 
> Clip. Clip reads from STDIN and copies the text to the Clipboard. Then, 
> using the Paste command, copy the text to any application that can receive 
> text from the Clipboard.
> 
> For syntax details, at the command prompt, type:
> clip /? or clip -?
> 
> Example One
> dir | clip
> copies a folder listing onto the Clipboard. Next, run WordPad (or a similar 
> text editor) and choose Edit, then Paste from the menu bar to paste the 
> folder listing into WordPad.
> 
> Example Two
> clip < readme.txt
> places a copy of the contents of Readme.txt onto the Clipboard.
> 
> Example Three
> awk -f gencode.awk input.txt | clip
> places the output of the program Gencode.awk onto the Clipboard.
> 
> File Required
> 
> Clip.exe
> ----------------------
> You might poke around to see if it can be downloaded somewhere (Google). Or 
> a search of ZDnet might turn up a freeware/shareware alternative.
> 
> Michael
> 
> 
> On Saturday 29 June 2002 08:18 am, Joel Hammer wrote:
> > It would be better if the script automatically sent the output to the
> > clipboard. The output is going to be rather lengthy, about 20 to 40 lines
> > of text. And, the users are going to be secretaries, some of  whom are
> > very ill educated about computer use.
> 
> 
> _______________________________________________
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



More information about the Linux-users mailing list