<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%> 独立服务器组件注册|杭州顺道网络专业的网站制作专家

杭州顺道网络-专业的网站制作专家,为您提供优质的网站建设和浙江地区ICP代办服务!
我们的壮大得益于您的支持!顺道网络真诚的感谢各位新老客户对我们的信任!

网站首页 加入收藏
首页>> 客服中心
独立服务器组件注册
信息类型:使用手册 添加时间:2007-6-7 14:57:49
关于这里的 udate 是CYGWIN中的date.exe 我更名为udate 这个文件可以单独放在%windir%\system32下

@echo off

for /f %%i in ('udate +%%Y%%m%%d') do set logdata=%%i

:afresh
set /p webid="请输入要注册组件的帐号:"
@echo 1.jmail 2.cdonts 3.powereasy 4.upload 5.aspjpeg
@echo off
set /p zjid="请输入要注册的组件名称:"

if "%zjid%"=="1" goto jmail

if "%zjid%"=="2"goto cdonts

if "%zjid%"=="3" goto powereasy

if "%zjid%"=="4" goto upload

if "%zjid%"=="5" goto aspjpeg


:jmail
set /p afresh="请确认输入的信息是否正确?(Y/N):"
if "%afresh%"=="y" goto continue
if "%afresh%"=="n" goto afresh
:continue
cacls.exe C:\JMail\jmail.dll /T /E /C /G IUSR_%webid%:R
goto end

:cdonts
set /p afresh="请确认输入的信息是否正确?(Y/N):"
if "%afresh%"=="y" goto continue
if "%afresh%"=="n" goto afresh
:continue
cacls.exe C:\Inetpub\mailroot /T /E /C /G IUSR_%webid%:R
goto end

:powereasy
set /p afresh="请确认输入的信息是否正确?(Y/N):"
if "%afresh%"=="y" goto continue
if "%afresh%"=="n" goto afresh
:continue
cacls.exe C:\PowerEasy2005 /T /E /C /G IUSR_%webid%:R
cacls.exe C:\PowerEasy2006 /T /E /C /G IUSR_%webid%:R
goto end

:upload
set /p afresh="请确认输入的信息是否正确?(Y/N):"
if "%afresh%"=="y" goto continue
if "%afresh%"=="n" goto afresh
:continue
cacls.exe c:\upload\uploadfso.dll /T /E /C /G IUSR_%webid%:R
goto end

:aspjpeg
set /p afresh="请确认输入的信息是否正确?(Y/N):"
if "%afresh%"=="y" goto continue
if "%afresh%"=="n" goto afresh
:continue
cacls.exe c:\aspjpeg /T /E /C /G IUSR_%webid%:R
goto end

:end

@echo %webid%注册%zjid%组件成功! -----%logdata%>> c:\dll\dll.log
返回
 
服务理念
服务流程
常见问题
使用手册
知识技巧
投诉/建议
产品