Morning all,

I need to take a wScript.echo and copy it to the clipboard. The
script I supplies my variables and outputs to a wscript.echo for me.
Now I want to copy waht is put what is displayed in the wscript.echo
into the clipboard so I can paste is into other apps. Is this
possible with vbs? and if so how. I have seen alot around that is
close, but all are looking to use IE to copy to the clipboard. Is
this the only way? any input would be appreciated.

Daryl

Re: Copying Wscript.echo to the clipboard by Pegasus

Pegasus
Fri Feb 29 14:53:33 CST 2008


"baron1211" <res0ew3q@verizon.net> wrote in message
news:a8b23597-4c7e-4b0d-9b0c-4c3d5c64708a@e6g2000prf.googlegroups.com...
> Morning all,
>
> I need to take a wScript.echo and copy it to the clipboard. The
> script I supplies my variables and outputs to a wscript.echo for me.
> Now I want to copy waht is put what is displayed in the wscript.echo
> into the clipboard so I can paste is into other apps. Is this
> possible with vbs? and if so how. I have seen alot around that is
> close, but all are looking to use IE to copy to the clipboard. Is
> this the only way? any input would be appreciated.
>
> Daryl

Have a look here for an authoritative answer:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/aug04/hey0813.mspx