Solved

Redirect output to clipboard

Posted on 2002-07-23
3
427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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