Jump to content
Sign in to follow this  
ReDFlaG

can't grab the stdout of some appz

Recommended Posts

ReDFlaG

Hi,

i'm trying to grab the stdout of readcd.exe (one of the tools bundled with cdrtools) but i can't (it does the same with cdrdao.exe 1.2.1). Even if i redirect the output to a text file ( >test.txt) in a dos command box, the file stay empty while readcd (or cdrdao) output can be seen in the dos box.

Any explanation?

Thanks.

$line=''
$foo = Run(@ScriptDir &'\readcd.exe dev='&$temp&'  f=test.iso', '', 2)
While 1
 $line &= StdoutRead($foo)
 If @error = -1 Then ExitLoop
WEnd
MsgBox(0,'test',$line)

Share this post


Link to post
Share on other sites
Simucal

Some dos applications dont use std I/O, so you wont be able to capture the output of them. Microsoft's telnet.exe being an example.


AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
Share on other sites
ReDFlaG

thanks both of you for the answers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.