Gettype.exe: Get Type Version InformationNEW


This command-line tool allows you to detect what type of operating system—Microsoft® Windows® 2000 or Microsoft® Windows NT®; workstation, server or domain controller—is installed on a computer.

GetType is useful for administrators who need to detect Windows software installations in a mixed environment before performing some action in a batch file. Sometimes it is necessary to run software or scripts only on clients or servers running a particular variety of Windows 2000 or Windows NT.

GetType queries the registry for the computer's installation type, and sets the error level (%ErrorLevel%) accordingly. For error levels, see GetType Syntax.

GetType Topics

File Required