1.

Solve : How to determine the Vista OS in bat??

Answer»

I am able to DETERMINE the system OS by using ver command, but not for Windows Vista.

In windows Vista machine it just outputs -> Microsoft Windows [Version 6.0.6001]
where as in other OS am able to parse for XP, 2003 etc, from the command ver's output.

Is there a way to determine it in Vista.

Thanks in ADVANCE for the help.Not an exact answer, but some information HERE for you.

From the page:
Quote

(The Vista version is 6.0 whereas the XP version is 5.1.)
Thanks mate. It SOLVES my PBM to an extent.Don't check for text such as "XP" or "Vista", check for the number.


Discussion

No Comment Found