James Posted January 23, 2008 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
Enforcer Posted January 23, 2008 Posted January 23, 2008 Output TO console ? Try this... Run (@Comspec & ' /C SOME COMMAND', '', @SW_HIDE) [RU] Zone
James Posted January 23, 2008 Author 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
James Posted January 23, 2008 Author 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
Rad Posted January 23, 2008 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?
James Posted January 23, 2008 Author Posted January 23, 2008 Rad, output to CMD console. Not GUI, CUI Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
MadBoy Posted January 23, 2008 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)
mbkowns Posted January 23, 2008 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.
Paulchen Posted January 24, 2008 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
James Posted January 24, 2008 Author 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
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