Jump to content
Sign in to follow this  
cormac

Command Prompt window

Recommended Posts

cormac

Hi Folks,

I'm calling my AutoIT script from the Command Prompt Window cmd.exe. I would like for my log info and error messages to be printed to this window. Is this possible using AutoIt. I've had a look through the message board, but I haven't been able to find any pointers.

Many thanks,

Cormac

Share this post


Link to post
Share on other sites
MHz

Welcome to AutoIt.

You can get the ConsoleWrite() output to the command prompt by just piping with "|more" at the end of the execution command to start the AutoIt script. Another way to to make a CUI application by simply using Editbin.exe to set the flag within the executable as mentioned below and any ConsoleWrite() output appears in the command prompt like any other CUI applaction.

http://www.autoitscript.com/forum/index.php?showtopic=47809

:)

Edited by MHz

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.