OS

From Environment Variables
Jump to: navigation, search

OS environment variable returns the operating system name. Windows 2000 and later versions of Microsoft Windows display the operating system as Windows_NT. [1]

echo %OS%
Windows_NT

Default value

The default value of OS environment variable is in most cases Windows_NT.[1]

References

  1. 1.0 1.1 Environment Variable Reference

See also

AllUsersProfile | AppData | CD | ClientName | CmdCmdLine | CmdExtVersion | CommonProgramFiles | ComputerName | ComSpec | Date | ErrorLevel | HomeDrive | HomePath | LocalAppData | LogonServer | Number Of Processors | OS | Path | PathExt | Processor Architecture | Processor Identifier | Processor Level | Processor Revision | ProgramFiles | Prompt | Random | SessionName | SystemDrive | SystemRoot | Temp | Time | Tmp | UserDnsDomain | UserDomain | UserName | UserProfile | WinDir


Personal tools
Namespaces

Variants
Actions
Navigation
Catalogue
Google AdSense
Tools