Jump to content

Dos and autoit


Recommended Posts

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()
Link to comment
Share on other sites

  • Moderators

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

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.

Link to comment
Share on other sites

  • Moderators

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.

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.

Link to comment
Share on other sites

  • Moderators

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])

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...