已有站点:HTTP80
%systemroot%\system32\inetsrv\APPCMD ADD APP /SITE.NAME:"HTTP80" /path:/Redirect /physicalPath:"C:\Windows\System32\drivers\etc" /applicationPool:"HTTP80"
批处理执行后效果:
已有站点:HTTP80
%systemroot%\system32\inetsrv\APPCMD ADD APP /SITE.NAME:"HTTP80" /path:/Redirect /physicalPath:"C:\Windows\System32\drivers\etc" /applicationPool:"HTTP80"
批处理执行后效果: