fastlane65 Posted July 31, 2019 Posted July 31, 2019 Running this line will open endless cmd windows and does not actually execute wmic: runwait(@ComSpec & ' /c ' & "wmic product where " & chr(34) & "name like '%anyconnect%'" & chr(34) &" call uninstall","",@SW_HIDE) Runs fine when I run manually in cmd window. Why? What is wrong with it?
Developers Jos Posted August 1, 2019 Developers Posted August 1, 2019 Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team 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.
Developers Jos Posted August 1, 2019 Developers Posted August 1, 2019 Did you compile the script and if so, what is the name of your script? 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.
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