SystemRoot

From Environment Variables
Jump to: navigation, search

SystemRoot environment variable is a special system-wide environment variable, its value is the location of the system folder, including the drive and path.

The drive is the same as SystemDrive variable value.[1]

echo %SystemRoot%
C:\WINDOWS

Default value

The default value of SystemRoot environment variable is in most cases C:\WINDOWS.

References

  1. Wikipedia

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