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
Post a Comment