create batch file for checking .net framework 3.5 sp1 is installed or not
I want to know how to create batch开发者_如何学C file for check .net framework 3.5 sp1
is installed or not in system.
You can check if the folder %systemroot%\Microsoft.NET\Framework\v3.5 exists.
In your batch file, it could looks like:
IF EXIST "%systemroot%\Microsoft.NET\Framework\v3.5" ECHO File exists!
And here is a list of other possibilites: http://www.walkernews.net/2008/05/16/how-to-check-net-framework-version-installed/
精彩评论