Page 1 of 1 1
Topic Options
#2563 - 2000-04-17 09:42 AM Determine Win95 Version
Anonymous
Unregistered


Is there a way to determine which version of Win95 (A, B, or C) a machine is using?

Check the version of a file perhaps?

Thanx for any info.

Roneil

Top
#2564 - 2000-04-17 10:10 AM Re: Determine Win95 Version
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
See this site for a detailed explanation. I also believe he has a utility to do this.
http://www.walbeehm.com/win95upd.html
_________________________
Jack

Top
#2565 - 2000-04-26 12:52 AM Re: Determine Win95 Version
Anonymous
Unregistered


Here you can find my script to get various info on a Win9x.

It returns the following info (samples for W95 and W98)

...
ProductName: Microsoft Windows 95
Version: Windows 95
VersionNumber: 4.00.1111
SubVersionNumber: B
...

...
ProductName: Microsoft Windows 98
Version: Windows 98
VersionNumber: 4.10.2222
SubVersionNumber: A
...

Here is the full script I collect, you can cut whatever you like.

;-----------------------------------
$Key="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion"

? "ProductType: "+Readvalue ($key,"ProductType")
? "RegisteredOwner: "+Readvalue ($key,"RegisteredOwner")
? "RegisteredOrganization: "+Readvalue ($key,"RegisteredOrganization")
? "ProductId: "+Readvalue ($key,"ProductId")
? "LicensingInfo: "+Readvalue ($key,"LicensingInfo")
? "SystemRoot: "+Readvalue ($key,"SystemRoot")
? "ProductName: "+Readvalue ($key,"ProductName")
? "Version: "+Readvalue ($key,"Version")
? "VersionNumber: "+Readvalue ($key,"VersionNumber")
? "SubVersionNumber: "+Readvalue ($key,"SubVersionNumber")
? "Plus! VersionNumber: "+Readvalue ($key,"Plus! VersionNumber")
? "FirstInstallDateTime: "+Readvalue ($key,"FirstInstallDateTime")
? "BootCount: "+Readvalue ($key,"BootCount")
? "ProductKey [98]: "+Readvalue ($key,"ProductKey")

$Key=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName
? "ComputerName [CN]: "+Readvalue ($key,"ComputerName")

$Key=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP
? "ComputerName [Sr]: "+Readvalue ($key,"ComputerName")
? "Workgroup: "+Readvalue ($key,"Workgroup")
? "Comment: "+Readvalue ($key,"Comment")

Top
#2566 - 2000-04-26 06:35 AM Re: Determine Win95 Version
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
this is what I use to set set flags in my scripts for various OS's. Enjoy

$pp=ReadValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions","ProductType")
$SubVer=ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion","SubVersionNumber")

select
Case @inwin=1 and $pp<>"WinNT" and @dos=5.0
$os="Win2k Server"
Case @inwin=1 and $pp="WinNT" and @dos=5.0
$os="Win2k Professional"
Case @inwin=1 and $pp="LANMANNT"
$os="WinNT 4.0 Domain Controller"
Case @inwin=1 and $pp="ServerNT"
$os="WinNT 4.0 Member Server"
Case @inwin=1 and $pp="WinNT"
$os="WinNT 4.0 Workstation"
Case @inwin=2 and @dos="4.10"
$os="Win98"
Case @inwin=2 and @dos="4.0" and $subver=" C"
$os="Win95c"
Case @inwin=2 and @dos="4.0" and $subver=" B"
$os="Win95b"
Case @inwin=2 and @dos="4.0" and $subver="a"
$os="Win95a"
Case @inwin=2 and @dos="4.0"
$os="Win95"
Case 1
$os="undetermined"
endselect

? "Operating System is "+$os
get $k ;Pauses script to view output

_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1363 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.054 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org