Windows_NT I'm running Vista Home Premium
Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 Azadi Saryev wrote: > 1 min of googling for 'vista "echo %OS%"' revealed: > > 1) that 'echo %OS%' returns Windows_NT on both XP and Vista > > 2) this bit if script: > @echo off > for /f "tokens=3,4" %%a in ('ver') do set ver=%%a & if %%b==6.0.6000 set > ver=Vista > Echo OS version is %ver% > if %ver%==XP echo It is XP > REM Adjust this line to what Ver reports. > if %ver%==Vista echo it is Vista > > don't have vista (stay away!), so can't confirm #1 > #2 was confirmed as working on ExpertsExchange > (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_22517996.html) > > > Azadi Saryev > Sabai-dee.com > http://www.sabai-dee.com/ > > > > Don L wrote: > >> I need a quick favor from someone who has access to a Vista box. >> type >> echo %OS% >> from DOS prompt >> and let me know what you got. >> >> I'm a bad googler. >> >> Thanks. >> >> Don >> Chunshen Li >> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320850 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4