Jump to content

Typeing VIA Command Promt


Recommended Posts

Im Very new to the command prompt and these funcs of autoit. how would i recv the data that comes up once i use the prompt? i got this so far

Run('CMD.exe')
If WinExists('C:\WINDOWS\system32\CMD.exe')Then
    WinActive('C:\WINDOWS\system32\CMD.exe')
    Send('Ipconfig')
    Send('{ENTER}')
EndIf

is there an easyer way? also i cannot recv the data any help you guys?

(i have searched but not very hard im sad to say because im at scool and its limited computer time)

Link to comment
Share on other sites

Im Very new to the command prompt and these funcs of autoit. how would i recv the data that comes up once i use the prompt? i got this so far

Run('CMD.exe')
If WinExists('C:\WINDOWS\system32\CMD.exe')Then
    WinActive('C:\WINDOWS\system32\CMD.exe')
    Send('Ipconfig')
    Send('{ENTER}')
EndIf

is there an easyer way? also i cannot recv the data any help you guys?

(i have searched but not very hard im sad to say because im at scool and its limited computer time)

Look at the example for StdOutRead() in the help file.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

ok im alittle confused but ill look into it with more detail after school \ ill EDIT this post in a few hours and say what i found and or what i still dont understand

EDIT

told you.. anyway i looked through it and suddenly remebered something, what i was looking for in the command was, i type in

PING www.ect.....

and it recves the IP in the brakets [ ]

BUT isnt there a function in autoit that converts the name to IP?

PS. im a newb at networking stuff

EDIT again

ok what i found was TCPnametoIP() i dont know HOW i missed that function since i made a tcp multiclient THANKS ANYWAY!! :)

Edited by CodyBarrett
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...