Sign in to follow this  
Followers 0
James

Output to CMD Console

12 posts in this topic




Output TO console ?

Try this...

Run (@Comspec & ' /C SOME COMMAND', '', @SW_HIDE)


[RU] Zone

Share this post


Link to post
Share on other sites

Try StdoutRead ..

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 link

http://technet2.microsoft.com/WindowsServe...3.mspx?mfr=true

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  
Followers 0