brian gonzalez Posted November 28, 2006 Share Posted November 28, 2006 RunWait("%temp%\batch\7za.exe e %temp%\batch\WebIfas.zip -oc:\WebIfas\ -aoa", @WindowsDir, @SW_HIDE)error:>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\AutoIt\config.au3" C:\AutoIt\config.au3 (58) : ==> Unable to execute the external program.: RunWait("%temp%\batch\7za.exe e %temp%\batch\WebIfas.zip -oc:\WebIfas\ -aoa", @WindowsDir, @SW_HIDE) The parameter is incorrect.Any ideas? Link to comment Share on other sites More sharing options...
xcal Posted November 28, 2006 Share Posted November 28, 2006 RunWait(@TempDir & "\batch\7za.exe e " & @TempDir & "\batch\WebIfas.zip -oc:\WebIfas\ -aoa", @WindowsDir, @SW_HIDE) How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
Developers Jos Posted November 28, 2006 Developers Share Posted November 28, 2006 try this: FileChangeDir(@TempDir) RunWait(@ComSpec & " /c batch\7za.exe e batch\WebIfas.zip -oc:\WebIfas\ -aoa", @WindowsDir, @SW_HIDE) 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...
Valuater Posted November 28, 2006 Share Posted November 28, 2006 I do it kinda like this... it also helps me test my script ; RunWait("%temp%\batch\7za.exe e %temp%\batch\WebIfas.zip -oc:\WebIfas\ -aoa", @WindowsDir, @SW_HIDE) ;$Program = FileGetShortName(@TempDir & "\batch\7za.exe ") ; sometimes needed $Program = @TempDir & "\batch\7za.exe " $Aruguments = '"e ' & @TempDir & '\batch\WebIfas.zip -oc:\WebIfas\ -aoa"' MsgBox(0,"test line", $Program & $Aruguments ) ; use this to test the line ;RunWait( $Program & $Aruguments, @WindowsDir, @SW_HIDE) but, i am sure the above posts will work 8) Link to comment Share on other sites More sharing options...
brian gonzalez Posted November 28, 2006 Author Share Posted November 28, 2006 This still doesnt seem to work.. I got this to work, but it displays the text boxes when it copies the files.. Id much rather not show that.... ;RunWait(@COMSPEC & " /c %temp%\batch\7za.exe e %temp%\batch\WebIfas.zip -oc:\WebIfas\ -aoa") ;RunWait(@COMSPEC & " /c %temp%\batch\7za.exe e %temp%\batch\Dialers.zip -o%temp%\batch\Dialers\ -aoa") Link to comment Share on other sites More sharing options...
brian gonzalez Posted November 28, 2006 Author Share Posted November 28, 2006 This still doesnt seem to work.. I got this to work, but it displays the text boxes when it copies the files.. Id much rather not show that.... ;RunWait(@COMSPEC & " /c %temp%\batch\7za.exe e %temp%\batch\WebIfas.zip -oc:\WebIfas\ -aoa") ;RunWait(@COMSPEC & " /c %temp%\batch\7za.exe e %temp%\batch\Dialers.zip -o%temp%\batch\Dialers\ -aoa")oÝ÷ Ûú®¢×§ZvØ^³)í{诼⧠è!ÈpjǺȧØ^zºè®È^ì²Ø^~)ÚX§zÊr^jëh×6 RunWait(@COMSPEC & " /c %temp%\batch\7za x -y -oc: %temp%\batch\WebIfas.7z", @WindowsDir, @SW_HIDE) RunWait(@COMSPEC & " /c %temp%\batch\7za x -y -o%temp%\batch\Dialers\ %temp%\batch\Dialers.zip", @WindowsDir, @SW_HIDE) 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