nitro322 0 Posted May 18, 2005 I primarily use @osversion determine which version of Windows this script is running on. However, this does not distinguish between Windows 2000 Pro and Windows 2000 Server; something that I need to do. I'm sure I could figure this out by querying a certain registry key, or maybe kernel file version, or something like that, but I was wondering if there was a "proper" way to do this with AutoIt. Any suggestions? Thanks. http://www.legroom.net/ Share this post Link to post Share on other sites
herewasplato 2 Posted May 19, 2005 I primarily use @osversion determine which version of Windows this script is running on. However, this does not distinguish between Windows 2000 Pro and Windows 2000 Server; something that I need to do. I'm sure I could figure this out by querying a certain registry key, or maybe kernel file version, or something like that, but I was wondering if there was a "proper" way to do this with AutoIt.Any suggestions? Thanks.<{POST_SNAPBACK}>I see that nobody has replied to this, so I'll jump in...I do not know if there is a "proper" way, but if you can locate regisrty settings that differ (and are consistant - don't change with patch level) then that should work well within AutoIt. I do not have any W2k server systems to play with - so, I can not help you out directly... and I could not locate any info online concerning "differences" that you could use within your script.good luck [size="1"][font="Arial"].[u].[/u][/font][/size] Share this post Link to post Share on other sites
ter-pierre 0 Posted July 6, 2005 http://www.autoitscript.com/forum/index.ph...60&hl=osversion Share this post Link to post Share on other sites