复制代码 代码如下:
@echo off
set /p vp="please input the virtual path:"
choice /c otc /m "press o for asp.net1.1, press t for asp.net2.0, press c for cancel"
if errorlevel 3 goto end
if errorlevel 2 goto two
if errorlevel 1 goto one
:one
%SYSTEMROOT%Microsoft.NETFrameworkv1.1.4322aspnet_regiis.exe -s W3SVC/1/ROOT/%vp%
goto end
:two
%SYSTEMROOT%Microsoft.NETFrameworkv2.0.50727aspnet_regiis.exe -s W3SVC/1/ROOT/%vp%
goto end
:end
echo end
pause
新闻热点
疑难解答
图片精选