|
在我的菜单里,根目录再往上是要跳的主菜单的,所以根目录也有这么一项,如果要单独使用filelist,只需要把filelist改成如下内容:
================================================================
...以上内容省略
if '%path%'=='' echo -e title \xE5\xBD\x93\xE5\x89\x8D\xE7\x9B\xAE\xE5\xBD\x95: / >> (md)0x23400+0x100
if '%path%'=='' echo command %menudev%/GRUB/filelist %path% >> (md)0x23400+0x100
if not '%path%'=='' echo -e title \xE5\xBD\x93\xE5\x89\x8D\xE7\x9B\xAE\xE5\xBD\x95: %path% >> (md)0x23400+0x100
if not '%path%'=='' echo command %menudev%/GRUB/filelist %path% >> (md)0x23400+0x100
echo >> (md)0x23400+0x100
if not '%path%'=='' call :back
if not '%path%'=='' call :listdir
if '%path%'=='' call :listdrive
configfile (md)0x23400+0x100
exit
...以下内容省略
=================================================================== |
|