gfunk999 Posted October 13, 2008 Share Posted October 13, 2008 Hi all,Does anyone have a clue why the attach BIOS (Winuptp.exe) program from lenovo errors when launched from AutoIT? Everything is ok if you manually luanch the program from its own folder.I'm running this simple code:#include <Process.au3> EnvSet("path", "c:\drivers\flash") Run("winuptp.exe", "", @SW_SHOW) And I get this error: Link to comment Share on other sites More sharing options...
gfunk999 Posted October 13, 2008 Author Share Posted October 13, 2008 (edited) Nevermind I don't think you guys would be able to replicate I can't upload the program and you must have the same model to see what i'm seeing. Hi all, Does anyone have a clue why the attach BIOS (Winuptp.exe) program from lenovo errors when launched from AutoIT? Everything is ok if you manually luanch the program from its own folder. I'm running this simple code: #include <Process.au3> EnvSet("path", "c:\drivers\flash") Run("winuptp.exe", "", @SW_SHOW) And I get this error: Edited October 13, 2008 by gfunk999 Link to comment Share on other sites More sharing options...
trancexx Posted October 14, 2008 Share Posted October 14, 2008 What OS? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Developers Jos Posted October 14, 2008 Developers Share Posted October 14, 2008 Try setting the working directory to the program directory: Run("c:\drivers\flash\winuptp.exe", "c:\drivers\flash", @SW_SHOW) Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Mobius Posted October 14, 2008 Share Posted October 14, 2008 (edited) Do as Jos said plus scrap this line! You Append to the Path environment variable, You don't replace its existing contents with a new string! Older systems and binaries will not like that at all, your program says 08 but your screenshot says 98/2k Plus you are running a bios flash tool, which also screams 98/2k EnvSet("path", "c:\drivers\flash") Edited October 14, 2008 by Mobius 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