Computing.Net > Forums > Disk Operating System > Capturing screen text in DOS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Capturing screen text in DOS

Reply to Message Icon

Name: Brett
Date: August 1, 2002 at 12:22:45 Pacific
Comment:

Ok, here is my problem. I want to capture some screen text that is output from a DOS executable and stick it into a text file. Unfortunately, I am unable to do this using the >. Here's the process:

>:fwver.exe sm
>:[01][F5][03][B1] Samsung CD/DVD [T100]

I need to get that output into a text file. When I try fwver.exe sm > test.txt I see the output and the text file is blank. When I stick the executable in a batch file I get the same result. Editting the executable is not an option as it is written in Korean and my Korean programming just isn't what it used to be. Anyone have any ideas on how I can get that line into a text file? Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: Secret_Doom
Date: August 1, 2002 at 14:31:12 Pacific
Reply:

That redirect method won't work if the program doesn't use the 'standard output method', or something like that (this name is just a guess, I know there's such thing but I don't remember the name).

This is the same reason why you can't redirect the output from a batch file with that method, either.

Instead, use this:

%COMSPEC% /C fwver.exe sm > test.txt

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Capturing screen text in DOS

Garbled text in dos games?? www.computing.net/answers/dos/garbled-text-in-dos-games/5172.html

Color text in dos www.computing.net/answers/dos/color-text-in-dos/2241.html

Still need help in "Dos Letters" -below- www.computing.net/answers/dos/still-need-help-in-dos-letters-below/1528.html