timone Posted September 23, 2009 Share Posted September 23, 2009 Hi all this is my first post in this forum. I will describe what the problem was, I need to update the bios on the old pc, I only access them by telnet, it works on them windows xp. Update from the windows I want to do the program WinFlash 1.76 (award bios) with the transfer of parameters to the program WinFlash will not have a problem, but how did the initial tests with other programs GUI running with AutoIt through telnet did not work properly. Please direct me how to write this script. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 I'm not completely 100% but as to what if you ever need to do this. Have you running the WinFlash on domain a or did you not at all? Please question my answers, and you will be successful. github.com/jvanegmond Link to comment Share on other sites More sharing options...
timone Posted September 23, 2009 Author Share Posted September 23, 2009 I do not know whether WinFlash working in the domain but I put a link to the programlink to WinFlash Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 Oh, so you DO speak English. Could you rephrase the first post, it makes no sense. github.com/jvanegmond Link to comment Share on other sites More sharing options...
timone Posted September 23, 2009 Author Share Posted September 23, 2009 I apologize for my English, I learned the Russian in school: / Please write what you did not understand I'll try to explain better. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 I did not understand the part between "Hi all this is my first post in this forum." and "Please direct me how to write this script.". github.com/jvanegmond Link to comment Share on other sites More sharing options...
timone Posted September 23, 2009 Author Share Posted September 23, 2009 Hi all this is my first post in this forum I wanted a welcome with user in this forum.Please direct me how to write this scriptusers have better knowledge of what tips me how to do it well. whether the did not deviate from the topic? Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 No, I did not understands the parts between those two phrases.$meNotUnderstand = _StringBetween($yourPost, "Hi all this is my first post in this forum", "Please direct me how to write this script")It was this:I will describe what the problem was, I need to update the bios on the old pc, I only access them by telnet, it works on them windows xp. Update from the windows I want to do the program WinFlash 1.76 (award bios) with the transfer of parameters to the program WinFlash will not have a problem, but how did the initial tests with other programs GUI running with AutoIt through telnet did not work properly. github.com/jvanegmond Link to comment Share on other sites More sharing options...
timone Posted September 23, 2009 Author Share Posted September 23, 2009 I need a update BIOS in remote computer, under Windows XP with command line, I only call to host by telnet. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 Telnet them how? github.com/jvanegmond Link to comment Share on other sites More sharing options...
timone Posted September 23, 2009 Author Share Posted September 23, 2009 I have such an idea: connect to a remote host with the telnet service, from a remote host doing ftp to my ftp server where bios.bin, WinFlash.exe and file generate file from AutoIt, fetching these files to a remote host, and I run file_generate_from_autoit.exe. Link to comment Share on other sites More sharing options...
LarryDalooza Posted September 23, 2009 Share Posted September 23, 2009 Ok... perhaps there is a language barrier... but certainly, this thread will succumb without some GOOD information being provided. To the Original Poster: Please provide, in detail, the manual steps of "flashing" the BIOS. From this manual description (again... details!) you will be provided with help from the AutoIt community. Anything short of useful data at this point will cause this thread to die. Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
timone Posted September 23, 2009 Author Share Posted September 23, 2009 I want to use AutoIt to automate the process of updating BIOS, a program for flashing the system is WinFlash 1.76 (Award BIOS) program must be run from the command line, as you probably guessed WinFlash is a GUI program and run from the command line (telnet) to fail. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 Oh, now I get it. It was still a little bit cryptic so let me repeat what you said. - You telnet into the remote machine. You can execute commands on that machine through telnet. - You want to run the WinFlash program to flash the machine, but you can't access this through command line alone. - You want to write a AutoIt script that automates the WinFlash gui. You want this AutoIt script to be able to run from the command line, with some parameters that you can set in the AutoIt script that are somehow turned into commands for WinFlash. Is this correct? github.com/jvanegmond Link to comment Share on other sites More sharing options...
timone Posted September 23, 2009 Author Share Posted September 23, 2009 Yes this is what I meant, thank you very much for your patience and understanding. Link to comment Share on other sites More sharing options...
Bert Posted September 23, 2009 Share Posted September 23, 2009 This one is like pulling teeth on a great white shark that hasn't eaten in a while.... The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 Yes this is what I meant, thank you very much for your patience and understanding. Ah, then we can give you a list of commands that will help you. You shouldn't have to worry about the whole telnet business too much, just that it needs to be run from command line. The command line parameters are stored in a variable called $CmdLine. The help file discusses this. For automating the window, there are very much different ways to do this. Some functions that can help: Run WinWait WinActivate WinWaitActive ControlClick ControlSend ControlSetText I hope this sends you on your way. : ) github.com/jvanegmond Link to comment Share on other sites More sharing options...
LarryDalooza Posted September 24, 2009 Share Posted September 24, 2009 rather than telnet, also is PSEXEC which can push out stuff and execute it. Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
timone Posted September 24, 2009 Author Share Posted September 24, 2009 Hello, in my script, I wanted to use ConsoleWrite ('') but as I run the script compiled to exe file from the command line, nothing is displayed in the console, why ? Link to comment Share on other sites More sharing options...
jvanegmond Posted September 24, 2009 Share Posted September 24, 2009 (edited) Hello, in my script, I wanted to use ConsoleWrite ('') but as I run the script compiled to exe file from the command line, nothing is displayed in the console, why ? In order to do that, your script needs to be compiled as CUI. Also, try: ConsoleWrite ('Hello World.') Edited September 24, 2009 by Manadar github.com/jvanegmond 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