Jump to content

Controlsend .. wtf ..


AceLoc
 Share

Recommended Posts

$cmd = (@SystemDir & "/cmd.exe")
Run($cmd)
WinWaitActive($cmd)
ControlSend($cmd, "", "", "Netstat{ENTER}")
WinWaitActive($cmd)
ControlSend($cmd, "", "", "Netstat -n{ENTER}")
WinWaitActive($cmd)

i also tried

$cmd = "C:\WINDOWS\system32\cmd.exe"

but that dont work on every computer ... any idea's?

Thanks!

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Link to comment
Share on other sites

well.. because i use this.. thanks for helping anyways

this will run it i guess but HIDED:

$cmd = (@WindowsDir & "/system32" & "/cmd.exe")
Run($cmd)
WinWaitActive($cmd)
ControlSend($cmd, "", "", "Netstat{ENTER}")
WinWaitActive($cmd)
ControlSend($cmd, "", "", "Netstat -n{ENTER}")
WinWaitActive($cmd)

anyway to show this? *-)

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Link to comment
Share on other sites

What the hell, I told you how to do it on msn like 3 times already.

you where talking about _RunDOS

and you also forgot " Opt("WinTitleMatchMode", 2) " :)

Edited by aceloc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

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...