Global variables within IIS Express

StuffandBlah picture StuffandBlah · Jan 30, 2011 · Viewed 23.8k times · Source

I've just installed IIS Express, can anyone tell me where it gets the settings for the following variables?

%IIS_BIN%
%IIS_USER_HOME%
%IIS_SITES_HOME%
%SYSTEMDRIVE%

Thanks

Answer

vikomall picture vikomall · Feb 1, 2011

The following three environment variables are set by iisexpress.exe during the process startup.

  • %IIS_BIN% - refers to IIS Express installation folder (%PROGRAMFILES%\IIS Express)
  • %IIS_USER_HOME% - %USERPROFILE%\Documents\IISExpress
  • %IIS_SITES_HOME% - %USERPROFILE%\Documents\My Web Sites

%SYSTEMDRIVE% - is a standard windows system environment variable