Sign in to follow this  
Followers 0
kcd-clan

Dos and autoit

7 posts in this topic

I need to do this.

send function of dos out and recive the output in autoit

Heres what id like somthing like or waht i need

func dos($cmd)
return run $cmd
endfunc
$go=dos(netstat) 
for $i=0 to $i= end of  $go out put
msgbox(0,$go,$go[$i])

Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()

Share this post


Link to post
Share on other sites



I need to do this.

send function of dos out and recive the output in autoit

Heres what id like somthing like or waht i need

func dos($cmd)
return run $cmd
endfunc
$go=dos(netstat) 
for $i=0 to $i= end of  $go out put
msgbox(0,$go,$go[$i])
You've been a member for over a year? for $i = 0 to $i = end of $go out put? :D

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

omg dont act stuped stop freaking harassing me.

Dont you anything better to do you can read it .

Any ways i know how to do it with vb so it dont matter.


Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()

Share this post


Link to post
Share on other sites

thank you

my vb skills arnt good enuff to do that on vb :/

Last I checked this was an AutoIt forum, and you were asking for an autoit solution in which w0uter gave you the beta option to that with his function
Func _RunSTD($sCommand, $sWorkDir = @WorkingDir, $iShowMode = @SW_HIDE)
   Local $sResult = '', $iPID = Run($sCommand, $sWorkDir, $iShowMode, 2)
   While Not @Error
      $sResult &= StdoutRead($iPID)
        Sleep(10)
   Wend
   Return $sResult
EndFunc
If you had bothered to look. And yes, you deserve any harrassment that I/Anyone gives for your laziness to find any solution even when it was pointed out directly.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Ease up on the knucklehead. If you have something that helps, post it nicely. If a member annoys you too much to be able to post nicely... don't bother posting. If you have extra time to want to conflict with someone... I suggest marriage... did wonders for me.

Lar.

Did that... but she's asleep :wacko: --- I'll practice my ignore users rights :D ([Ponder]Then I may not ever read a post :D [/Ponder])

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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