Global variables within IIS Express

2019-03-17 09:27发布

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

标签: iis-express
3条回答
不美不萌又怎样
2楼-- · 2019-03-17 09:47

To "change" the paths for the %IIS_USER_HOME% and %IIS_SITES_HOME% values, please see my explanation here.

查看更多
干净又极端
3楼-- · 2019-03-17 09:55
%IIS_USER_HOME% - The IIS Express home directory for the user
%IIS_SITES_HOME% - The default home directory for sites
%IIS_BIN% - The location of the IIS Express binaries
%SYSTEMDRIVE% - The drive letter of %IIS_BIN%
查看更多
虎瘦雄心在
4楼-- · 2019-03-17 09:59

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

查看更多
登录 后发表回答