Re: What environment variables to test to check windows version in


Go Back   Computer Help Articles > Windows XP General
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 02:32 AM
Steve N.
 
Posts: n/a
Default Re: What environment variables to test to check windows version in

bestofcomputer wrote:

> Thank folks for your posts.
> My comment :
> - %OS% is useless because it is the same value for all windows NT + 2000 +
> XP !
> - winver is not applicable to my case, since it opens a dialog box, and I
> want only to check the windows version on the command line !
> - the test with errorlevel after a : ver|find "XP" >nul :very good idea,
> and much better that env var.
> But about that idea, I need more information :
> - for checking winXP, the string to check is "XP".
> - for checking win2000, the string to check is "2000".
> - for checking winNT, what is the string to check ?


"NT"

> - for checking win2003, what is the string to check ?
> Thanks.


"2003"

Steve N.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading all updates after SP2 Kevin Benstead Windows Update 6 01-05-2006 05:15 PM
Windows XP service pack 2 Bionca Windows Update 2 01-05-2006 05:08 PM
computer owner? harry Windows XP Security Admin 1 01-05-2006 05:07 AM
Can't Ping My Own IP Address - Part 2 Don Windows XP Network Web 3 01-05-2006 04:10 AM
Windows error message Glo Windows XP Basics 41 01-05-2006 02:04 AM


All times are GMT. The time now is 12:31 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Re: What environment variables to test to check windows version in