Create a batch file for checking .net framework 3.5 sp1 installed or not

I want to know how to create a batch file for checking .net is framework 3.5 sp1installed or not in the system.
  Please, help.

+3
source share
1 answer

You can check if the folder% systemroot% \ Microsoft.NET \ Framework \ v3.5 exists.

In your batch file, it might look like this:

IF EXIST "%systemroot%\Microsoft.NET\Framework\v3.5" ECHO File exists!

And here is a list of other features: http://www.walkernews.net/2008/05/16/how-to-check-net-framework-version-installed/

+4
source

Source: https://habr.com/ru/post/1778102/


All Articles