|
|
发表于 2012-1-31 10:28:32
|
显示全部楼层
freedos1.1已出,老大是否有计划搞新动作?
我的意思是:您原有的dos工具箱已非常完美,不必再动。是否可以考虑在dos1.1基础上搞一个新东东?目前,我搞了一个在grldr环境下利用其批处理和菜单组成的直观管理电脑资源的菜单(附后,献丑了!),您能否抽空搞一个dos维护工具组合(实际上您原有的工具箱已能承担,不过我想用用dos1.1,呵呵,太苛求了!)和dos与grldr切换的菜单,这样既可以维护电脑,又可以挖掘电脑系统资源,岂不美哉?
debug off
checkrange 0x21 read 0x8280 && pxe keep
font /BOOT/GRUB/UNIFONT.HEX
graphicsmode -1 640
terminal --font-spacing=0:3
color normal=31 highlight=0x75 helptext=0x1D heading=0x0A standard=0x0F border=0x00
splashimage /BOOT/GRUB/SNOW.LZMA
set com=/BOOT/GRUB/
cat --length=0 %?_BOOT%%com%RUN && set root=%?_BOOT% ! cat --length=0 [email=%@root%%com%RUN]%@root%%com%RUN[/email] && set [email=root=%@root%]root=%@root%[/email] ! find --set-root %com%RUN
set com= && set root= && command --set-path=%root%%com%
default 7
timeout 3
title 01. 直观列举本机可用资源 \n GRLDR环境专用,直观清爽,使用首选
automenu
boot
title 02. 启动资源管理器 \n GRLDR环境下的专用资源管理器,傻瓜化操作
filelist
boot
title 03. 列举本机实用软件 \n run程序默认目录内的软件,选中直接运行
run --autolist /boot/imgs/
boot
title 04. 列举GRLDR可用系统程序 \n run程序默认目录内的GRUB4DOS程序,回车可选择处理方式
filelist /boot/grub/
boot
title 05. 指定条件手动搜索文件
clear
echo >搜索指定文件名前辍(如grldr或部分grl),回车默认不输入前缀。
set prename= && set /p prename=>input:
if not exist prename set prename= && echo Now use none as default.
if not exist prename set prename= || echo [已设定搜索%%前辍文件]
echo
echo >搜索指定后缀名(如.gho),搜索无后缀名文件(只输入.), 搜索多种后缀名文件(要输".ISO .GHO")
echo >直接回车表示默认输入.
set name= && set /p name=>input:
if not exist name set name=. && echo Now use . as default.
if not exist name set name=. || echo [已设定搜索%name%后缀文件]
echo
echo >请输入分区(用已知文件名路径代替),默认忽略此项条件(直接回车)
set luyin= && set /p luyin=>input:
if not exist luyin set luyin= && echo Now use ignored options as default.
if not exist luyin set luyin= || echo [已设定只搜索含有%luyin%文件的分区]
echo
echo >从指定文件夹开始搜索(如:(hd0,0)/ABC/BCD 、()/ABC/BCD )
echo >回车默认从当前路径开始搜索.
set fenqu= && set /p fenqu=>input:
if not exist fenqu set fenqu=()/ && echo Now use ()/ as default.
if not exist fenqu set fenqu=()/ || echo [已设定从%fenqu%开始搜索]
echo
echo >搜索目录层数.默认只搜索2层目录(回车)
set numeral= && set /p numeral=>input:
if not exist numeral set numeral=2 && echo Now use 2 as default.
if not exist numeral set numeral=2 || echo [已设定搜索%numeral%层目录]
command Find cmd="run /boot/imgs/firadisk.img %1" filpre="%prename%" ext=%name% subdir=%numeral% devs="--devices=h%luyin%" root=%fenqu% title=搜索结果(选中并回车可直接启动) return="configfile (md)4+8"
boot
title 06. 启动RUN程序 \n 本项将会加载RUN菜单,菜单条注释部分即为RUN的所有用法实例 \n 每条菜单回车可运行
find --set-root /boot/grub/RUN.MENU
run --as.lst /boot/grub/RUN.MENU
boot
title 07. 查找并启动本机系统 \n winxp 或 win7
findboot ntldr && findboot bootmgr
boot
title 08. 启动虚拟系统/WINXP/WINXP.VHD
run /boot/imgs/VbootXP.iso
boot
title 09. 启动虚拟系统/WINXP/WINXP.IMG
find --set-root /boot/imgs/WINXP.IMG
map --mem /boot/imgs/WINXP.IMG (hd0)
map (hd0) (hd1)
map --hook
root (hd0,0)
chainloader +1
boot
chainloader /ntldr
title 10. 启动FREEDOS1.1
find --set-root /BOOTSECT.BIN || find --set-root /KERNEL.SYS
chainloader /KERNEL.SYS
boot
title 11. 专门查看RUN用法 \n 查看run程序详细用法
viewfile /boot/grub/run.txt
boot
title 12. 查看所有GRLDR程序帮助 \n 查看本机已有的GRLDR程序用法
viewfile /boot/grub/help.txt
boot
title 13. 重启本菜单 \n 重新加载本菜单,去处所有的已设定环境变量
configfile (md)4+8
boot |
|