Get OSVER from http://wizbang.vze.com and run it, it reports as follows SET OS_PLATFORM=Windows NT 5.0 SET OS_BUILD=Build 2195 You capture this output and then use the Env vars from it !!!! Mark george.wasgatt@xxxxxxxxxxxx wrote: This works for Win9x at our site: if "%os%"=="" goto Windows9x -----Original Message----- From: David Demers [mailto:david.demers@xxxxxxxxxxxxxxx] Sent: Friday, January 24, 2003 10:12 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: batch file help The system variable "OS" is valid in Win 20000. I don't have a 95 or 98 = handy to test it out on. To test it in a .bat file use IF %os%=3D"Windows_NT" etc... HTH David -----Original Message----- From: Minero Hector B DLVA [mailto:MineroHB@xxxxxxxxxxxxx] Sent: Friday, January 24, 2003 8:04 AM To: Thin (E-mail) Subject: [THIN] batch file help Hi all, Is there a way a can check for Windows version in a batch file. Mainly, = I need to differentiate between Windows 95 and Windows 98. Thanks, _________________________________ Hector Minero NSWCDD Code K55 Ph: (540)653-8859 Fax:(540)653-8575 ******************************************************************** This Week's Sponsor: RTO Software - TScale TScale increases Terminal Server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - Not more servers. If you're using Citrix, you must learn about TScale! =20 Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=3D79 ********************************************************************* For Archives, to Unsubscribe, Subscribe or=20 set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************************** This Week's Sponsor: RTO Software - TScale TScale increases Terminal Server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - Not more servers. If you're using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************************* For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************************** This Week's Sponsor: RTO Software - TScale TScale increases Terminal Server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - Not more servers. If you?re using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************************* For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm --------------------------------- With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs ******************************************************************** This Week's Sponsor: RTO Software - TScale TScale increases Terminal Server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - Not more servers. If you?re using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************************* For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm