懂DOS批处理的高手进来帮个忙!!!!!

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS脚本发布区懂DOS批处理的高手进来帮个忙!!!!!
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
0个回复

懂DOS批处理的高手进来帮个忙!!!!!

楼层直达
Xiao7Lee

ZxID:1082854

等级: 元老
★★ -= 猎鹰 =- ★★ 

举报 只看楼主 使用道具 楼主   发表于: 2008-11-14 0
— 本帖被 夨魂。 执行锁定操作(2009-05-01) —
我自己写了个批处理文件来配置脚本,但是老是出问题,懂的高人指点下!!!!

我把它直接发上来!!1

希望高手修改下,然后发上来,谢谢!!!

文件:

@echo off
TITLE Cs脚本配置面板
color A
cls

:MENUE1
echo.
echo.
echo  ______________________________________________________________________________
echo.
echo  请选择一个您喜欢的脚本进行安装:
echo.
echo  (1) 备  份: 对当前脚本进行备份
echo  (2) 测试版: 安装测试脚本
echo  (3) 个人版: 安装个人脚本
echo  (4) 公共版: 安装公共版脚本
echo  (5) 还  原: 还原备份的脚本。
echo.
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.
set /P CHS= 请选择合适您的优化方案: [1],[2],[3],[4],[5] , [Q]退出?

:MENUE2
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.
echo  请选择一个您将要游戏的环境:
echo.
echo  (6) 非SXE平台: 除了SXE平台以外的平台,如Dokee、175PT等等。
echo  (7)  SXE平台 : SXE平台,适用于所有其他平台。
echo.
echo  ______________________________________________________________________________
echo.
if /I "%CHS%"=="1" (
        goto :beifenwenjian
        )

if /I "%CHS%"=="2" (
        goto :ceshiban
        )

if /I "%CHS%"=="3" (
        goto :gerenban
        )
if /I "%CHS%"=="4" (
        goto :gonggban
        )
if /I "%CHS%"=="5" (
        goto :huanyuan
        )
if /I "%CHS%"=="6" (
        goto :nos
        )

if /I "%CHS%"=="7" (
        goto :sxe
        )

if /I "%CHS%"=="Q" goto :QUIT

:beifenwenjian
  
echo.
echo .
@echo off
copy cstrike_schinese\commandmenu.txt platform\platforms\ghost\commandmenu.txt
copy cstrike_schinese\config.cfg platform\platforms\ghost\config.cfg
copy cstrike_schinese\autoexec.cfg cstrike_schinese\autoexec.cfg
copy cstrike_schinese\userconfig.cfg cstrike_schinese\userconfig.cfg
copy valve_schinese\resource\gameui_schinese.txt platform\platforms\ghost\gameui_schinese.txt
echo
pause 
GOTO :MENUE1
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.


:ceshiban
@echo off   
echo.
echo .
del cstrike_schinese\autoexec.cfg
del cstrike_schinese\config.cfg
del cstrike_schinese\userconfig.cfg
del valve_schinese\resource\gameui_schinese.txt

copy platform\platforms\beat\config.cfg cstrike_schinese\config.cfg
copy platform\platforms\beat\autoexec.cfg cstrike_schinese\autoexec.cfg
copy platform\platforms\beat\userconfig.cfg cstrike_schinese\userconfig.cfg
copy platform\platforms\beat\gameui_schinese.txt valve_schinese\resource\gameui_schinese.txt
echo.
echo .
pause 
GOTO :MENUE2
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.


:gerenban
@echo off
echo.
echo .
echo
del cstrike_schinese\autoexec.cfg
del cstrike_schinese\config.cfg
del cstrike_schinese\userconfig.cfg
del valve_schinese\resource\gameui_schinese.txt

copy platform\platforms\wolf-hawk\config.cfg cstrike_schinese\config.cfg
copy platform\platforms\wolf-hawk\autoexec.cfg cstrike_schinese\autoexec.cfg
copy platform\platforms\wolf-hawk\userconfig.cfg cstrike_schinese\userconfig.cfg
copy platform\platforms\wolf-hawk\gameui_schinese.txt valve_schinese\resource\gameui_schinese.txt
echo.
echo .
pause 
GOTO :MENUE2
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.


:gonggban
echo.
echo .
@echo off
del cstrike_schinese\autoexec.cfg
del cstrike_schinese\config.cfg
del cstrike_schinese\userconfig.cfg
del valve_schinese\resource\gameui_schinese.txt

copy platform\platforms\houdao\config.cfg cstrike_schinese\config.cfg
copy platform\platforms\houdao\autoexec.cfg cstrike_schinese\autoexec.cfg
copy platform\platforms\houdao\userconfig.cfg cstrike_schinese\userconfig.cfg
copy platform\platforms\houdao\gameui_schinese.txt valve_schinese\resource\gameui_schinese.txt
echo.
echo . 
 
echo
pause 
GOTO :MENUE2
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.


:huanyuan
echo.
echo.
@echo off
echo strike_schinese\autoexec.cfg
del cstrike_schinese\config.cfg
del cstrike_schinese\userconfig.cfg
del valve_schinese\resource\gameui_schinese.txt

copy platform\platforms\ghost\config.cfg cstrike_schinese\config.cfg
copy platform\platforms\ghost\autoexec.cfg cstrike_schinese\autoexec.cfg
copy platform\platforms\ghost\userconfig.cfg cstrike_schinese\userconfig.cfg
copy platform\platforms\ghost\commandmenu.txt cstrike_schinese\commandmenu.txt
copy platform\platforms\ghost\gameui_schinese.txt valve_schinese\resource\gameui_schinese.txt
 
echo .
pause  
GOTO :QUIT

echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.


:nos
echo.  
echo.
echo
@echo off
del cstrike_schinese\commandmenu.txt
del cstrike_schinese\valve.rc
 
copy platform\platforms\nos\commandmenu.txt cstrike_schinese\commandmenu.txt
copy platform\platforms\nos\valve.rc cstrike_schinese\valve.rc
 
echo .
 
pause  
GOTO :QUIT
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.


:sxe
echo.  
echo
@echo off
del cstrike_schinese\commandmenu.txt
del cstrike_schinese\valve.rc
 
copy platform\platforms\sxe\commandmenu.txt cstrike_schinese\commandmenu.txt
copy platform\platforms\sxe\valve.rc cstrike_schinese\valve.rc
 
echo
pause 
GOTO :QUIT
echo  ______________________________________________________________________________
echo.
echo  ______________________________________________________________________________
echo.


:QUIT
echo             ________________________________________________________
echo.
color 0B
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO                      ┌────────────────┐ 
ECHO                      │▉▉▉ 已经成功的完成操作 ▉▉▉│
ECHO                      └────────────────┘


)
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
echo             ________________________________________________________
ECHO 按任意键退出......
ECHO.
pause
exit

« 返回列表
发帖 回复