Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

(Vanity) Tech help - save a LONG screen from CMD.exe
The Windows Vista experience ^ | 26 April 2011 | blueflag

Posted on 04/26/2011 6:52:01 AM PDT by Blueflag

NET: WHAT is the DOS command to save a screen full of text in CMD.exe

background) This is a friend's VISTA home premium machine I am 'laying hands on' trying to fix other issues. I don't want it on my network, so I can't print. I *DO* want to save the entire contents of the CMD.exe window to a .txt file.

details:

Because my DOS skills have faded, I need some advice. On a SEPARATE computer, I have the need to SAVE to a notepad file a long report an app created in the CMD.exe window.

I know how to select all; but after selecting all one cannot COPY/PASTE 'cuz ctrl-C does not copy the contents of the CMD.exe windows' selected text.

Also, the CMD.exe window is NOT word-wrapping, so I can't do a screen shot to capture all the text.

NET: WHAT is the DOS command to save a screen full of text in CMD.exe

Many thanks to the FReeper "IT" community.


TOPICS: Chit/Chat; Computers/Internet
KEYWORDS: cmdexe; editor; notepad
Navigation: use the links below to view more comments.
first 1-2021-4041 next last
NET: WHAT is the DOS command to save a screen full of text in CMD.exe

This is a friend's VISTA home premium machine I am 'laying hands on' trying to fix other issues. I don't want it on my network, so I can't print. I *DO* want to save the entire contents of the CMD.exe window to a .txt file.

Because my DOS skills have faded, I need some advice. On a SEPARATE computer, I have the need to SAVE to a notepad file a long report an app created in the CMD.exe window.

I know how to select all; but after selecting all one cannot COPY/PASTE 'cuz ctrl-C does not copy the contents of the CMD.exe windows' selected text.

Also, the CMD.exe window is NOT word-wrapping, so I can't do a screen shot to capture all the text.

NET: WHAT is the DOS command to save a screen full of text in CMD.exe

Many thanks to the FReeper "IT" community.

1 posted on 04/26/2011 6:52:07 AM PDT by Blueflag
[ Post Reply | Private Reply | View Replies]

To: Blueflag

not sure you can. but you may be able to do multiple ctrl-prtsc and paste into a email or photo editor to capture the info. BTW whats the issue with your friends computer?


2 posted on 04/26/2011 6:56:49 AM PDT by waynesa98
[ Post Reply | Private Reply | To 1 | View Replies]

To: Blueflag

shameless self-bump to beg for replies ;-)


3 posted on 04/26/2011 6:57:14 AM PDT by Blueflag (Res ipsa loquitur)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Blueflag

Right click on the Command Prompt window title bar. Edit->Mark. Drag through the text you want.

Again right click on the Command Prompt window title bar. Edit->Copy.


4 posted on 04/26/2011 7:00:04 AM PDT by Nervous Tick (Trust in God, but row away from the rocks!)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Blueflag

Right click the top bar of the CMD window, Edit, Select All, Copy


5 posted on 04/26/2011 7:02:19 AM PDT by SolidRedState (Can I have a do over?)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Blueflag

You can also “select all” from the edit menu.

I don’t know if this trick works in VISTA, but it works in Windows 7 and XP so I assume it works in Vista too.


6 posted on 04/26/2011 7:02:19 AM PDT by Nervous Tick (Trust in God, but row away from the rocks!)
[ Post Reply | Private Reply | To 4 | View Replies]

To: waynesa98

Cant’ do the print screen work around ‘cuz cmd.exe didn’t word wrap — a lot of the important stuff disappears off the right side of the window. Thus the need to save the contents to a text file.

This machine belongs to a friend visiting from Germany. She let her virus/ malware definitions get a month old and she got hammered with malware and trojans here in the U.S.

I have managed to get all but one ‘root cause’ (pun intended) bit of malware ID’d and removed mainly using malwarebytes and hitman pro. the techies and malwarebytes.org have been helping and put me onto a freeware utility named VIPRE RESCUE that DID find the source of the recurring “gamevance” infection. THAT program created the screen report in CMD.exe but DID NOT write it out to a log file I can review with the guys from Malwarebytes.org.

harrumph.

The VIPRE RESCUE app DID clean the 3 well-hidden remaining trouble-makers and the 64 registry errors that produce a BSOD on reboot. Now I just gotta tell the tech support guys.


7 posted on 04/26/2011 7:03:21 AM PDT by Blueflag (Res ipsa loquitur)
[ Post Reply | Private Reply | To 2 | View Replies]

To: Blueflag

Better to right click in window, click on select all, press Enter. This will get all window text into the clipboard.


8 posted on 04/26/2011 7:03:52 AM PDT by GMMC0987
[ Post Reply | Private Reply | To 1 | View Replies]

To: Nervous Tick

OOORAH!

We have a winner.

Thanks again to the FReeper community for pointing out the painfully obvious fixes found in the Windows Experience ...

I should have looked for “copy” to un-grey once I selected all.

BUT, thanks for pointing out the ready-made fix.


9 posted on 04/26/2011 7:05:33 AM PDT by Blueflag (Res ipsa loquitur)
[ Post Reply | Private Reply | To 4 | View Replies]

To: Blueflag

Can you run the command generating the report from the command prompt? If so simply direct the output to a file.

For example:

dir >foo.txt

will create a file called “foo.txt” in your current directory and send the output from the “dir” command to that file INSTEAD OF to the screen.


10 posted on 04/26/2011 7:05:47 AM PDT by SoothingDave
[ Post Reply | Private Reply | To 1 | View Replies]

To: Nervous Tick

BTW, in my own defense ... her machine DOES run IN GERMAN, and while I can order a beer and find the airport, my TECHNICAL German is lousy.

Thanks again.


11 posted on 04/26/2011 7:06:41 AM PDT by Blueflag (Res ipsa loquitur)
[ Post Reply | Private Reply | To 4 | View Replies]

To: Blueflag
Use the ">" operator to redirect command output to a new file.

Example:
dir *.txt > myfile.txt


Additionally, the ">>" operator will append to a file.

example:
dir *.txt >> myfile.txt

12 posted on 04/26/2011 7:07:46 AM PDT by Spruce
[ Post Reply | Private Reply | To 1 | View Replies]

To: Blueflag

*Technical* German?

Hey, if you can order a beer, how much more “technical German” do you really need? :-)


13 posted on 04/26/2011 7:08:34 AM PDT by Nervous Tick (Trust in God, but row away from the rocks!)
[ Post Reply | Private Reply | To 11 | View Replies]

To: SoothingDave

I could do that by editing the .bat file that runs the scan, but Nervous Tick saved my arse.

It’s as simple as SELECT ALL, then COPY from the interface. COPY does not un-grey until you SELECT ALL. I kinda feel stupid for not seeing the obvious, but her machine DOES run in German ....


14 posted on 04/26/2011 7:08:39 AM PDT by Blueflag (Res ipsa loquitur)
[ Post Reply | Private Reply | To 10 | View Replies]

To: Blueflag; rdb3; Calvinist_Dark_Lord; GodGunsandGuts; CyberCowboy777; Salo; Bobsat; JosephW; ...

15 posted on 04/26/2011 7:09:52 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Blueflag; rdb3; Calvinist_Dark_Lord; GodGunsandGuts; CyberCowboy777; Salo; Bobsat; JosephW; ...

16 posted on 04/26/2011 7:10:36 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Nervous Tick

and just remember that holding up the thumb orders ONE beer. holding up the first finger orders TWO beers.

;-)

and holding up two fingers — first and second — gets you kicked in the !@#$s by the nice German bar maid ‘cuz you just told her FU. oops.


17 posted on 04/26/2011 7:11:18 AM PDT by Blueflag (Res ipsa loquitur)
[ Post Reply | Private Reply | To 13 | View Replies]

To: Blueflag

If it’s Vista, it should have clip.exe and you should be able to run your dos cmd and pipe the output to that, like this:

dir | clip.exe

When it’s finished, the output will already be in your clipboard paste buffer. Just open up whatever you want to paste it into, right-click and hit Paste.


18 posted on 04/26/2011 7:13:53 AM PDT by tacticalogic
[ Post Reply | Private Reply | To 1 | View Replies]

To: Blueflag
Redirect the output:

yourcommand.exe > yourtextfile.txt

19 posted on 04/26/2011 7:14:00 AM PDT by antiRepublicrat
[ Post Reply | Private Reply | To 1 | View Replies]

To: tacticalogic

And you don’t really need the .exe extension on the pipe to clip.

dir | clip

works just as well.


20 posted on 04/26/2011 7:17:41 AM PDT by tacticalogic
[ Post Reply | Private Reply | To 18 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-4041 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson