Solved

Redirect output to clipboard

Posted on 2002-07-23
3
424 Views
Last Modified: 2008-03-17
I would like to have a batch file that will execute a command and send its output to the clipboard.  Is there any way to do this?
0
Comment
Question by:UsfJam
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
jmiller47 earned 100 total points
ID: 7172567
The tool you need to do this is clip and is located on the Windows 2000 Resource Kit tools CDROM.


Clip

{command} | clip
clip < {file}

Place the command output file / specified file contents on the system clipboard.
0
 

Author Comment

by:UsfJam
ID: 7172588
What if I don't have access to that cd?
0
 

Author Comment

by:UsfJam
ID: 7172591
nevermind, found the download.  Looks like you get an easy 100 points.  Happy birthday.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VMware converter for windows 2000 server SP4 4 5,973
website 1 303
Repair old Windows 2000 boot 15 208
vCenter Converter Standalone 4.01 - Convert Old Server 2000 to VM 4 155
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now