|
|
#1 |
|
Commander
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2001
Location: boston, ma
Posts: 1,020
|
Find SP # of NT?
Hey,
I was wondering if anyone knows how to retrieve the Service pack number of a Windows NT installation. I need to get it from a text file or WMI script or something similar (feed into a perl script). I have a VBS script that is able to retrieve it from all other OS's, but have yet to find one that works for NT. Thanks!
__________________
Find some free Comcast or Verizon on-demand movies to watch at home tonight: www.movie-cat.tv |
|
|
|
|
|
#2 |
|
Fleet Admiral
![]() ![]() ![]() ![]() ![]() ![]() |
Try 'ver' or 'set' in the command shell.
|
|
|
|
|
|
#3 |
|
Commander
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2001
Location: boston, ma
Posts: 1,020
|
those two have lots of information, but not the Service Pack info. Thanks though.
|
|
|
|
|
|
#4 |
|
Rear Admiral Upper Half
![]() ![]() ![]() |
There is a reg key with it that you can easily look up. I don't have it in front of me, but if you havent' found it by the time I get home, I'll look it up and post it.
__________________
The Apexer formerly known as SnotRocket. "Like I ****ing said, "Ok, so I hear it may be a repost. Blah But I had never seen it, so..." **** you Canta." -Jenny 12/4/2003 |
|
|
|
|
|
#5 |
|
Vice Admiral
![]() ![]() ![]() ![]() |
It's not in "My computer" properties tab?
__________________
"I know the pieces fit, cause I watched them fall away." "Cold silence has A tendancy to Atrophy any Sense of compassion." MJK |
|
|
|
|
|
#6 |
|
Commander
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2001
Location: boston, ma
Posts: 1,020
|
no, it isn't there. Also, it is pretty difficult write a function to retrieve stuff like that from a graphical window like "my computer". Perl has some libraries to try, but it isn't always consistent.
|
|
|
|
|
|
#7 |
|
Vice Admiral
![]() ![]() ![]() ![]() |
Oh, I misunderstood. I thought you wanted to know the service pack on a 1 time basis. I didn't realized you wanted a program to be able to learn it on any computer.
|
|
|
|
|
|
#8 |
|
Plebe
Join Date: Apr 2004
Posts: 1
|
hklm\software\microsoft\window nt\currentversion\csdversion
dex |
|
|
|