{"id":830,"date":"2009-11-21T20:19:52","date_gmt":"2009-11-21T19:19:52","guid":{"rendered":"http:\/\/www.servernet.dk\/?p=830"},"modified":"2009-11-21T20:19:52","modified_gmt":"2009-11-21T19:19:52","slug":"environment-variables-in-windows","status":"publish","type":"post","link":"http:\/\/www.servernet.dk\/?p=830","title":{"rendered":"Environment Variables in Windows"},"content":{"rendered":"<table border=\"1\" cellspacing=\"2\" cellpadding=\"4\" width=\"90%\" align=\"center\">\n<tbody>\n<tr bgcolor=\"#cccccc\">\n<th>Variable<\/th>\n<th>Typical value (May vary, depending on system)<\/th>\n<\/tr>\n<tr>\n<td>%ALLUSERSPROFILE%<\/td>\n<td><code>C:\\Documents and Settings\\All Users<\/code><\/td>\n<\/tr>\n<tr>\n<td>%APPDATA%<\/td>\n<td><code>C:\\Documents and Settings\\<em>{username}<\/em>\\Application Data<\/code><\/td>\n<\/tr>\n<tr>\n<td>%COMPUTERNAME%<\/td>\n<td><em>{computername}<\/em><\/td>\n<\/tr>\n<tr>\n<td>%COMSPEC%<\/td>\n<td><code>C:\\Windows\\System32\\cmd.exe<\/code><\/td>\n<\/tr>\n<tr>\n<td>%HOMEDRIVE%<\/td>\n<td><code>C:<\/code><\/td>\n<\/tr>\n<tr>\n<td>%HOMEPATH%<\/td>\n<td><code>\\Documents and Settings\\<em>{username}<\/em><\/code><\/td>\n<\/tr>\n<tr>\n<td>%PATH%<\/td>\n<td><code>C:\\Windows\\System32\\;C:\\Windows\\;C:\\Windows\\System32\\Wbem<\/code><\/td>\n<\/tr>\n<tr>\n<td>%PATHEXT%<\/td>\n<td>.COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH<\/td>\n<\/tr>\n<tr>\n<td>%PROGRAMFILES%<\/td>\n<td>Directory containing program files, usually <code>C:\\Program Files <\/code><\/td>\n<\/tr>\n<tr>\n<td>%PROMPT%<\/td>\n<td>Code for current command prompt format. Code is usually <code>$P$G<\/code><\/td>\n<\/tr>\n<tr>\n<td>%SYSTEMDRIVE%<\/td>\n<td>The drive containing the Windows\u00a0XP root directory, usually C:<\/td>\n<\/tr>\n<tr>\n<td>%SYSTEMROOT%<\/td>\n<td>The Windows\u00a0XP root directory, usually <code>C:\\Windows<\/code><\/td>\n<\/tr>\n<tr>\n<td>%TEMP% and %TMP%<\/td>\n<td><code>C:\\DOCUME~1\\<em>{username}<\/em>\\LOCALS~1\\Temp<\/code><\/td>\n<\/tr>\n<tr>\n<td>%USERNAME%<\/td>\n<td><em>{username}<\/em><\/td>\n<\/tr>\n<tr>\n<td>%USERPROFILE%<\/td>\n<td><code>C:\\Documents and Settings\\<em>{username}<\/em><\/code><\/td>\n<\/tr>\n<tr>\n<td>%WINDIR%<\/td>\n<td><code>C:\\Windows<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Variable Typical value (May vary, depending on system) %ALLUSERSPROFILE% C:\\Documents and Settings\\All Users %APPDATA% C:\\Documents and Settings\\{username}\\Application Data %COMPUTERNAME% {computername} %COMSPEC% C:\\Windows\\System32\\cmd.exe %HOMEDRIVE% C: %HOMEPATH% \\Documents and Settings\\{username} %PATH% C:\\Windows\\System32\\;C:\\Windows\\;C:\\Windows\\System32\\Wbem %PATHEXT% .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH %PROGRAMFILES% Directory containing program files, usually C:\\Program Files %PROMPT% Code for current command prompt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[148,8,72,7,27,9,144,20],"tags":[213],"class_list":["post-830","post","type-post","status-publish","format-standard","hentry","category-logon-script","category-microsoft-server-2003","category-microsoft-server-2008","category-microsoft-terminal","category-microsoft-vista","category-microsoft-windows-2000","category-microsoft-windows-7","category-microsoft-windows-xp","tag-environment-variables"],"_links":{"self":[{"href":"http:\/\/www.servernet.dk\/index.php?rest_route=\/wp\/v2\/posts\/830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.servernet.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.servernet.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.servernet.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.servernet.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=830"}],"version-history":[{"count":1,"href":"http:\/\/www.servernet.dk\/index.php?rest_route=\/wp\/v2\/posts\/830\/revisions"}],"predecessor-version":[{"id":831,"href":"http:\/\/www.servernet.dk\/index.php?rest_route=\/wp\/v2\/posts\/830\/revisions\/831"}],"wp:attachment":[{"href":"http:\/\/www.servernet.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.servernet.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=830"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.servernet.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}