OperatingSystem Property
Applies To
System object.
Description
Returns the name of the current operating system (for example, "Windows" or "Windows NT"). Read-only String.
See Also
Version property.
Example
This example displays a message that includes the name of the current operating system.
MsgBox "This computer is running " & System.OperatingSystem