-------------------------------------------------------------------------------------------------
1. Rem only removes electrical in batch file. Change name and vendor as needed.
WMIC product where "(name like 'AutoCAD Electrical 2016 - English') and (vendor like 'autodesk%')" call uninstall /nointeractive
-------------------------------------------------------------------------------------------------
2. % is wild card. This would remove Electrical and the civil object enabler "Autodesk AutoCAD Civil 3D 2016 64 Bit Object Enabler on AutoCAD Electrical 2016 - English" because it has the string in it.
WMIC product where "(name like '%AutoCAD Electrical 2016 - English%') and (vendor like 'autodesk%')" call uninstall /nointeractive
-------------------------------------------------------------------------------------------------
3. ***WARNING***
!!!REMOVES ALL AUTODESK PRODUCTS!!!
WMIC product where "vendor like 'AutoDesk%'" call uninstall /nointeractive
No comments:
Post a Comment