James Posted January 23, 2008 Share Posted January 23, 2008 Hey, I was wandering if a program could output messages to the CMD console? Thanks, James Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Enforcer Posted January 23, 2008 Share Posted January 23, 2008 Output TO console ? Try this... Run (@Comspec & ' /C SOME COMMAND', '', @SW_HIDE) [RU] Zone Link to comment Share on other sites More sharing options...
James Posted January 23, 2008 Author Share Posted January 23, 2008 No I need to "print" the command. I could make a temporary batch script which will echo this.. Hmmm... Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Innovative Posted January 23, 2008 Share Posted January 23, 2008 Try StdoutRead .. Link to comment Share on other sites More sharing options...
James Posted January 23, 2008 Author Share Posted January 23, 2008 Why would that help? Notice StdoutRead I saw StdinWrite. But it's not quite right. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Rad Posted January 23, 2008 Share Posted January 23, 2008 Local $var = "Test"ConsoleWrite("var=" & $var & @CRLF); Running this in a text editor which can trap console output should produce "var=Test"That would output data to the console of SciTE, are you looking to output commands from an actual cmd console? Or to a console? Link to comment Share on other sites More sharing options...
picaxe Posted January 23, 2008 Share Posted January 23, 2008 Try this Link to comment Share on other sites More sharing options...
James Posted January 23, 2008 Author Share Posted January 23, 2008 Rad, output to CMD console. Not GUI, CUI Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
MadBoy Posted January 23, 2008 Share Posted January 23, 2008 Rad, output to CMD console. Not GUI, CUI By picasso -> http://www.autoitscript.com/forum/index.ph...7380&hl=CUIAlso it's implemented in newest scite (beta) autoit wrapper if i did read right My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
mbkowns Posted January 23, 2008 Share Posted January 23, 2008 Output TO console ?Try this...Run (@Comspec & ' /C SOME COMMAND', '', @SW_HIDE)How can you have it run more then one command in the same dos window? Right now I have it run something a dos box pops up goes away and then another one pops up goes away etc... how can I have one come up run all the stuff and then go away like normal batch files. Link to comment Share on other sites More sharing options...
Paulchen Posted January 24, 2008 Share Posted January 24, 2008 How can you have it run more then one command in the same dos window? Right now I have it run something a dos box pops up goes away and then another one pops up goes away etc... how can I have one come up run all the stuff and then go away like normal batch files.You can write a batch or cmd file or use special characters like &, &&, || to pass multiple commands. For more info view following linkhttp://technet2.microsoft.com/WindowsServe...3.mspx?mfr=true Link to comment Share on other sites More sharing options...
James Posted January 24, 2008 Author Share Posted January 24, 2008 Simple Batch Script: @ECHO OFF TITLE My first Batch Script ECHO Hello! pause Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now