How to check .Net version which is installed on my machine using wmic command in batch file -


i want check .net version installed on machine using wmic command in batch file.

below command used , not working.

wmic /namespace:\\root\cimv2 path win32_product "name '%%microsoft .net framework 4 extended%%'" version 

can please me out this.

thanks in advance.

if don't have version, should message saying "no instance(s) available"

i recommend

 wmic /namespace:\\root\cimv2 path win32_product "name '%%microsoft .net%%'" version 

this way can see versions installed including 4.0


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -