cd\
cd windows\System32\inetsrv\
APPCMD ADD APPPOOL /name:MyAppPool4.0 /managedRuntimeVersion:"v4.0"
APPCMD ADD SITE /name:"Wapi_ERP" /bindings:http://*:9005 /physicalPath:"D:\DEV\Wapi_ERP\Wapi_ERP"
APPCMD SET SITE /site.name:Wapi_ERP /[path='/'].applicationPool:MyAppPool4.0
pause
存成 IIS.bat
沒有留言:
張貼留言