|
- @Echo Off
- color 1E
- title qazxswa
- Set Prog= 接口安装程序
- Set L1= ╭══════════════════╮
- Set L2= ║ ║
- Set L3= ╭══┤%Prog% forqazxswa ├══╮
- Set L4= ║ ║ ║ ║
- Set L5= ║ ╰══════════════════╯ ║
- Set L6= ║ ║
- Set L7= ╟════════════════════════╢
- Set L8= ║ ║
- Set L9= ║ ║
- Set L10= ║ ║
- Set L11= ╰────────────────────────╯
- :begin
- cls
- echo %L1%
- echo %L2%
- echo %L3%
- echo %L4%
- echo %L5%
- echo %L6%
- echo %L7%
- echo ║ [ 1 ] 安装接口 ║
- echo %L8%
- echo ║ [ 2 ] 卸载接口 ║
- echo %L9%
- echo ║ [ Q ] 退出程序 ║
- echo %L10%
- echo %L11%
- set Cho=
- Set /P Cho= 请选择要进行的操作 (1/2/Q) ,然后按回车:
- set Cho=%Cho:~0,1%
- If /I '%Cho%'=='1' GOTO :setup
- If /I '%Cho%'=='2' GOTO :UnInst
- If /I '%Cho%'=='Q' EXIT
- exist
- :setup
- reg add "HKCU\Software\AeroFox R&D\System\Markets\SH" /f /v "MainIndex" /t REG_SZ /d "000001"
- reg add "HKCU\Software\AeroFox R&D\System\Markets\SH" /f /v "Forbiden" /t REG_SZ /d ""
- reg add "HKCU\Software\AeroFox R&D\System\Settings" /f /v "StatusBarStks" /t REG_SZ /d "SH000001;SZ399001"
- pause>nul
- goto begin
- :Uninst
- reg add "HKCU\Software\AeroFox R&D\System\Markets\SH" /f /v "MainIndex" /t REG_SZ /d "1A0001"
- reg add "HKCU\Software\AeroFox R&D\System\Markets\SH" /f /v "Forbiden" /t REG_SZ /d ""
- reg add "HKCU\Software\AeroFox R&D\System\Settings" /f /v "StatusBarStks" /t REG_SZ /d "SH1A0001;SZ399001"
- pause>nul
- goto begin
复制代码
按楼主要求,1为安装,2为卸载,如果相反请交换setup和Uninst标签!!!! |
|