erezlevi Posted January 4, 2008 Share Posted January 4, 2008 hi, I can't find and either the AutoIT Au3Info.exe does not get the ID, or control of the CMD.exe. I can't activate it for some reason, can some one help? Run ("cmd.exe") sleep (2000) ControlSend ("c:\WINDOWS\system32\cmd.exe","","ConsoleWindowClass","telnet"); don't work. thanks, Link to comment Share on other sites More sharing options...
Nahuel Posted January 4, 2008 Share Posted January 4, 2008 Look at "Run" in the help file:RemarksTo run DOS (console) commands, try Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE)Also, look at _RunDOS() Link to comment Share on other sites More sharing options...
erezlevi Posted January 4, 2008 Author Share Posted January 4, 2008 Look at "Run" in the help file:Also, look at _RunDOS()yes, but I need to use the controlsend command in order to run a telnet in the backround or when a user is not logged in. Link to comment Share on other sites More sharing options...
martin Posted January 4, 2008 Share Posted January 4, 2008 hi, I can't find and either the AutoIT Au3Info.exe does not get the ID, or control of the CMD.exe. I can't activate it for some reason, can some one help? Run ("cmd.exe") sleep (2000) ControlSend ("c:\WINDOWS\system32\cmd.exe","","ConsoleWindowClass","telnet"); don't work. thanks, Have a look at this example. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now