Niller Posted July 23, 2016 Share Posted July 23, 2016 How to convert this batch script: 7za.exe x "DirectX End-User Runtimes.zip" -y -o"%ProgramFiles%" To: ShellExecuteWait("7za.exe", '"x "DirectX End-User Runtimes.zip" -y -o"%ProgramFiles%""') I tried but and couldn't figure it out. Found some tutorials but they didn't help enough. Tried different " ' and & but nothing seems to work. What am I doing wrong? Link to comment Share on other sites More sharing options...
Developers Jos Posted July 23, 2016 Developers Share Posted July 23, 2016 Try: Run(@comspec & ' /c 7za.exe x "DirectX End-User Runtimes.zip" -y -o"%ProgramFiles%"') in case of issues change /c to /k so you can see the error. 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...
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