_DOS

Print Topic  Return to Overview  Previous Topic  Next Topic 

_DOS returns the operating system type. Take Command returns a different value depending on the operating system, as follows:

 

Platform

Take Command

Windows XP

WINXP

Windows 2003

WIN2003

Windows Vista

WINVISTA

Windows 2008

WIN2008

 

 

This variable is useful if you have batch files running in more than one environment, and need to take different actions depending on the underlying operating environment or command processor. See also the _WINVER variable.

Topic "_dos.htm" last edited 1/27/2008. ©2008  JP Software, Inc.
Keywords: _DOS