@ECHO OFF FOR /F %%a IN ('wmic alias list instance ^| FIND /v "Friend" ') DO ( FOR /F %%b IN ('wmic %%a /? ^| FIND /i "%%a CALL"' ) DO ( ECHO wmic %%b CALL /? wmic %%b CALL /? ) )
This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.