**Windows batch, 8 bytes** {"%OS%":5} The environment variable `OS` contains the string `Windows_NT` (On all Windows operating systems since 2000, according to [this][1] question on Stack Overflow) [1]: http://stackoverflow.com/questions/2788720/environment-variable-to-determine-the-os-type-windows-xp-windows-7