For the Registry Key, try: 

//HKLM/software/microsoft/Windows NT/CurrentVersion/. The various keys in
their should tell you all you need to know

> -----Original Message-----
> From: Sandeep Deshpande [mailto:[EMAIL PROTECTED] 
> Sent: 09 December 2005 11:42
> To: [email protected]
> Subject: Windows OS version
> 
> 
> Dear All,
> If I wanted to understand the OS then I used to use simply 'print $^O'
> (which tell MSWin32, it was enough to understand that the OS 
> is Windows). It
> used to work okay, but now one of my scripts need to 
> understand the windows
> OS in detail. (i.e. if the OS is Windows 2000 or Windows XP 
> or Windows 95
> etc). Currently I use system command 'ver'. But is there any 
> other way where
> I can get the details of Windows OS?
> 
> I would also welcome if somebody can tell me, where this 
> information is
> stored in Windows Registry then I can write a script to go 
> the said location
> and get the information or If there is any URL which explains Registry
> structure in detail?
> 
> Regards,
> Sandeep
> 
> _______________________________________________
> ActivePerl mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to