Homeseer666 Posted February 20, 2022 Posted February 20, 2022 Why does this work #RequireAdmin ShellExecute("C:\windows\system32\curl.exe","C:\windows\system32",@SW_MAXIMIZE) but not this? #RequireAdmin ShellExecute("C:\windows\system32\bash.exe","C:\windows\system32",@SW_MAXIMIZE) I get this error message Windows cannot find 'C:\windows\system32\bash.exe'. Make sure you typed the name correctly....etc. Bash.exe is present and it does work from the cmd line. I haven't added the rest of the bash.exe args/parameters to make this simpler but obviously returns the same error message
Developers Jos Posted February 20, 2022 Developers Posted February 20, 2022 (edited) Try running it with the x64 autoit version Edited February 20, 2022 by 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.
Homeseer666 Posted February 20, 2022 Author Posted February 20, 2022 (edited) That was it; merci oh grand Maître! I did it by compiling x64 or running script x64 but is there a way to run it in x64 directly from SciTE while editing? I usually just "Go" it but seems like it runs x86 by default I am on v3.3.14.5 and SciTE 32-bit Version 4.2.0 Edited February 20, 2022 by Homeseer666
Developers Jos Posted February 20, 2022 Developers Posted February 20, 2022 Just install the full version of SciTE4Autoit3 and use the #autoit3wrapper_usex64 directive in the script. This will then run the proper version of AutoIt3. 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.
Homeseer666 Posted February 20, 2022 Author Posted February 20, 2022 Perfect, works a charm, thank you!
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