Jump to content
Sign in to follow this  
sbaamm

Standard Output

Recommended Posts

sbaamm

It is possible to output message and result on a command shell ?

thanks

Vincenzo

Share this post


Link to post
Share on other sites
scriptkitty

like this?

run(@comspec & " /c Dir c:\*.* >c:\tempfile1.txt")
$x=Fileread("c:\tempfile1.txt",FileGetSize("c:\tempfile1.txt"))
FileDelete("c:\tempfile1.txt")
msgbox(1,"dir of c:\",$x)

or did you mean the exit code?


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites
sbaamm

The only way to interact with the user is through the MsgBox or InputBox. I would want a output or input in Dos Shell, like Perl or other (Kix ). It si possible ?

Excused for my English Language (Maccheronico).

:iamstupid: Grazie

Share this post


Link to post
Share on other sites
ezzetabi

No, non puoi. Dovrebbe essere nella lista delle cose da aggiungere comunque.

No, you cant. It should be in the todo list.

Share this post


Link to post
Share on other sites
emmanuel

you can gather some info from them in a command line with the $cmdline variable, check the helpfile... I too would like the ability to return info to the console... and yeah, I think it's in the to-do section...


"I'm not even supposed to be here today!" -Dante (Hicks)

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  

×