A batch file to detect and display windows based information such as service packs -


I would like to display a batch file that installed that service pack, which is installed by Internet Explorer version , And the version of Windows Media Player that it has been installed will be for Windows XP only because I need this because I have a script that can update windows offline but when it comes to service packs I always install who do not know C, so it is a batch file that installs updates / service packs can quietly reflect on what service pack.

Here is a VBS that will show which service pack is installed (from):

  strComputer = "." ObjWMIService = GetObject (set "winmgmts:" _ "and" {impersonation level = impersonation}! \\ "and Strauss computer and set" \ root \ cimv2 ") colOperatingSystems = objWMIService.ExecQuery_ (" Win32_OperatingSystem from * Select ") for each objOperatingSystem.Echo objOperatingSystem.ServicePackMajorVersion _ & amp;". "& ObjOperatingSystem.ServicePackMinorVersion next  
in the colooperating system

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -