Jump to content

Recommended Posts

Posted

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
Posted

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.
  :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...