简体   繁体   中英

create batch file for checking .net framework 3.5 sp1 is installed or not

I want to know how to create batch file for check .net framework 3.5 sp1 is installed or not in system.
Please Help.

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM