A more straightforward and self-documenting solution would be to use the FREE Advance NT/2K/XP/K3 Command Library, which provides commands like:
%.ifNT% (
[NT Commands Here]
ELSE
[2000 or above commands here]
)
*******
For more information and color-keyed examples:
(http://TheSystemGuard.com
(http://ntlib.com)
Main Topics
Browse All Topics





by: asyscokidPosted on 2004-04-16 at 05:41:37ID: 10841639
Check the solution provided by the expert named billious here:
e.com/Oper ating_Syst ems/MSDOS/ Q_20665341 .html
http://www.experts-exchang
He parses the results of the "ver" command to identify the OS.