Hello everyone. I just have a simple question with command prompt in Windows 7. Is there any command that copies the text from a file onto the clipboard so I can paste it somewhere? All I want to do is start the batch file and press Control-V. Solutions?
thecoolman5
8
Posting Whiz in Training
Recommended Answers
Jump to PostThe contents of a file can be displayed using the 'type' command. You can then redirect output to the clipboard with a pipe, e.g.
c:\type example.txt | clip
All 5 Replies
grarhakim
0
Newbie Poster
thecoolman5
8
Posting Whiz in Training
AffineMesh
0
Newbie Poster
jack.sycz
0
Newbie Poster
thecoolman5
8
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.