Swimming_Bird Posted September 20, 2005 Author Share Posted September 20, 2005 And how are you trying to call wpi.HTA?<{POST_SNAPBACK}>I'm trying to make my own autorun file, and i was wondering how you call the wpi.htm file so it doesnt give you the error: A script on this page is causing IE to run slowly, wanna abort the script.How can i call it so i dont get this error?I have an autoit script calling a batch file with this:REM Hide this command window.cmdow.exe @ /hidREM Start WPI and wait for its endstart /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"REM Rebooting the sytem to finalize the installation process.--shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."exitand when i manually call this batch file it works fine, but when i have autoit call it it gives me that error.<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 20, 2005 Share Posted September 20, 2005 A script on this page is causing IE to run slowly, wanna abort the script.The reg file is the only way this has ever been fixed. Maybe the auto-it file is not entering the reg file properly. Link to comment Share on other sites More sharing options...
Swimming_Bird Posted September 20, 2005 Author Share Posted September 20, 2005 A script on this page is causing IE to run slowly, wanna abort the script.The reg file is the only way this has ever been fixed. Maybe the auto-it file is not entering the reg file properly.<{POST_SNAPBACK}>hrm, maybe there shouldnt be any quotes around the dword entries. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 20, 2005 Share Posted September 20, 2005 Gotta be the prob because the reg file has been used for quite some time now and has always worked in the past. Link to comment Share on other sites More sharing options...
Swimming_Bird Posted September 20, 2005 Author Share Posted September 20, 2005 start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"what exactly is the purpose of this line? Link to comment Share on other sites More sharing options...
Swimming_Bird Posted September 20, 2005 Author Share Posted September 20, 2005 now when i call it it just has a white window....i'm so confused Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 20, 2005 Share Posted September 20, 2005 It fixes the file extension not known errors some where getting. Running it as just "wpi.hta" works just fine. Link to comment Share on other sites More sharing options...
Swimming_Bird Posted September 20, 2005 Author Share Posted September 20, 2005 got everything working jsut fine 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