|
|
发表于 2011-9-18 21:06:22
|
显示全部楼层
回复 #1818 zxw 的帖子
把你的新版这里改了一下(参照你的),其它和中午的一版一样。感觉这样比较好,自动列表保持原样,自动菜单解决中文显示问题。
见
——————————————————————————————————————————
::自动菜单
:.automenu
if /i "%OLD_TERM%"=="graphics" && background 1030C0 && foreground ffffff
call :check_dir %curpath%
clear
echo -e default 1 \ncolor white/blue blue/yellow light-red/blue 10\n > (md)0x3000+0x10
echo -e \ntitle AUTOMENU FOR %@root%%%curpath% \\n\nclear >> (md)0x3000+0x10
if /i "%mod%"=="gfxmenu" && echo -e if exist %fontpath%UNIFONT %fontpath%UNIFONT --unload\nterminal console\ndefault 0\nif exist %gfxmenu% \x7c\x7c find --set-root %gfxmenu%\ngfxmenu %gfxmenu%\n > (md)0x3000+0x10
root %@root%%%curpath%
set i=901 && ls | call :add.menu %~f0 ""
if exist menu set menu=if exist %menu% \x7c\x7c find --set-root %menu% \x7c\x7c clear\nconfigfile %menu% \x7c\x7c
echo -e \ntitle %i:~1%. RUN MainMenu\\n\t RUN MainMenu\n%menu% configfile (md)4+8 >> (md)0x3000+0x10
clear
call :.exit || clear
endlocal
configfile (md)0x3000+0x10
exit
[ 本帖最后由 tingyue-wu 于 2011-9-18 21:08 编辑 ] |
-
-
RUN.7z
6.3 KB, 下载次数: 21, 下载积分: 无忧币 -2
|