中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-10-26 22:37
共 47,815 主题排行 / 349,928 发帖 / 今日 0 篇 / 48,289 会员排行
DOS启动盘 & LOGO技术 (启动盘室) » 我怎么取消这个菜单?
可打印版本  3,815 / 32
第16楼 niutao1 发表于 2007-02-04 08:24
初级用户 发帖 41 积分 94
我想lz没有注意看作者的autoexec,其中写得很明白!

copy tools.ex_ x:\tools.arj >nul-----改文件扩展名.ex_为.arj
copy arj.exe x:\ >nul
x:
cd\
arj x -y tools.arj >nul-------解压缩
del tools.arj >nul

也就说明tools.ex_为arj压缩包,在dos下使用arj.exe解压缩,在win下winrar就可解。
第17楼 cnpith 发表于 2007-02-05 05:54
初级用户 发帖 21 积分 48
Originally posted by niutao1 at 2007-2-3 07:24 PM:
我想lz没有注意看作者的autoexec,其中写得很明白!

copy tools.ex_ x:\tools.arj >nul-----改文件扩展名.ex_为.arj
copy arj.exe x:\ >nul
x:
cd\
arj x -y t ...



arj x -y tools.arj >nul [用arj解压tools.arj到tools文件夹]
del tools.arj >nul [删除没有用的arj文件]
ghost.exe -clone,mode=pload,src=c_pan.gho:1,dst=1:1 -fro -sure -rb
[ghost还原,这条语句为什么不工作?没有ghost的界面出来]


上面的方法不行,我以为是目录的问题,我又尝试:
arj x -y tools.arj >nul [用arj解压tools.arj到tools文件夹]
del tools.arj >nul [删除没有用的arj文件]
cd tools [到tools目录下]
ghost.exe -clone,mode=pload,src=c_pan.gho:1,dst=1:1 -fro -sure -rb
[ghost还原,这条语句为什么不工作?没有ghost的界面出来]

上面两种方法都不行,我又试:
arj x -y tools.arj >nul
del tools.arj >nul
GHOST_1R.BAT[直接运行GHOST_1R.BAT还原批处理文件,可还是不工作,晕啊~]

[ Last edited by cnpith on 2007-2-4 at 04:55 PM ]
第18楼 cnpith 发表于 2007-02-05 10:02
初级用户 发帖 21 积分 48
张帖张图

附件
1.GIF (8.16 KiB)
第19楼 niutao1 发表于 2007-02-05 10:46
初级用户 发帖 41 积分 94
ghost -clone,mode=pload,src=tebieO7.gho:1,dst=1:1 -fro -sure -rb
参数-fro 为跳过错误,我一般都不加,你可以去掉试试。
在一个你的ghost.exe文件放在那了,如果不在根目录,你要想指向目录,比如在ghost这个文件夹下,你要加入:
%CDROM%: ---------指定光驱,可以不要
CD\ghost --------- 进入目录
ghost -clone,mode=pload,src=tebieO7.gho:1,dst=1:1 -sure -rb
第20楼 niutao1 发表于 2007-02-05 10:52
初级用户 发帖 41 积分 94
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
vol >x:\vol.txt
copy tools.ex_ x:\tools.arj >nul
copy arj.exe x:\ >nul
x:
cd\
arj x -y tools.arj >nul
del tools.arj >nul
doskey >nul
Shsucdx /D:IDE-CD /QQ
findcd /s >nul
cls
usb-hdd.bat
我也晕了,Shsucdx /D:IDE-CD /QQ语句没有什么都白搭!加载光驱驱动!
findcd /s查找光驱盘符,请屏后执行usb-hdd.bat批处理。
第21楼 cnpith 发表于 2007-02-06 08:50
初级用户 发帖 21 积分 48
Originally posted by niutao1 at 2007-2-4 09:46 PM:
ghost -clone,mode=pload,src=tebieO7.gho:1,dst=1:1 -fro -sure -rb
参数-fro 为跳过错误,我一般都不加,你可以去掉试试。
在一个你的ghost.exe文件放在那了,如 ...


arj x -y tools.arj >nul
del tools.arj >nul
cd tools

ghost.exe文件在tools目录下
这个目录应该已经拷贝到x盘,不需要加载光驱驱动了啊?
找不到光盘里边的.gho文件,至少也应该出现ghost的界面啊?
第22楼 terse 发表于 2007-02-06 10:02
银牌会员 发帖 946 积分 2,404
Originally posted by cnpith at 2007-2-1 12:20:


用什么软件可以打开arj.exe文件?

在win下winrar试试!
第23楼 niutao1 发表于 2007-02-06 10:02
初级用户 发帖 41 积分 94
你把config贴出来看看!
dos要求autoexec与config里的光驱名称对应
第24楼 cnpith 发表于 2007-02-06 11:05
初级用户 发帖 21 积分 48
到这一步了
马上就要成功了
怎么把X的盘符变成光盘的盘符




[ Last edited by cnpith on 2007-2-5 at 10:06 PM ]

附件
1.GIF (29.98 KiB)
第25楼 cnpith 发表于 2007-02-06 12:46
初级用户 发帖 21 积分 48
成功了
发一贴汇报一下

autoexec.bat后面是这样的(睡觉了,明天还上班,改天再慢慢解释):

arj x -y tools.arj >nul
del tools.arj >nul
doskey >nul
Shsucdx /D:IDE-CD /QQ
findcd /s >nul
cls


@echo off
rem 初始化
if exist u.dat set shd=2
if not exist u.dat set shd=1


:1rec1
call find_ld.bat
quit
call mouse.bat
ghost -clone,mode=pload,src=%shd%:%tpt%:\c_pan.gho:1,dst=%shd%:1 -fro -sure -fx
if errorlevel 1 goto 1rec21

rem 没出错
:1rec20
call tway.bat
call mouse.bat
cls
call w.bat box (+white on +blue) @ghost_1r.bat:1rec20_w #2,20
if errorlevel 100 goto exit
if "%?%"=="2" goto off
if "%?%"=="1" goto boot
:1rec20_w " OK! " [X]

一键恢复C盘 成功!

[ 重启(&R) ] [ 关机(&O) ]

#? 秒后自动关机

文盲变专家了:P:P:P
第26楼 niutao1 发表于 2007-02-07 01:32
初级用户 发帖 41 积分 94
lz的着两个变量指得是?
%shd%:%tpt%
第27楼 cnpith 发表于 2007-02-07 09:13
初级用户 发帖 21 积分 48
Originally posted by niutao1 at 2007-2-6 12:32 PM:
lz的着两个变量指得是?
%shd%:%tpt%



tools文件夹下find_ld.bat设定的变量,还没有完全看懂


@echo off

REM 一键备份(恢复)C盘判断GHOST映像所在分区
REM 查找第1硬盘最后一个分区(最多支持10个)
set tpt=2
x:
cd\
ghost -dd

:p10
type X:\GHSTSTAT.TXT|find /i " 1:10 " >nul
if errorlevel 1 goto p9
set tpt=10
goto end_f

:p9
type X:\GHSTSTAT.TXT|find /i " 1:9 " >nul
if errorlevel 1 goto p8
set tpt=9
goto end_f

:p8
type X:\GHSTSTAT.TXT|find /i " 1:8 " >nul
if errorlevel 1 goto p7
set tpt=8
goto end_f

:p7
type X:\GHSTSTAT.TXT|find /i " 1:7 " >nul
if errorlevel 1 goto p6
set tpt=7
goto end_f

:p6
type X:\GHSTSTAT.TXT|find /i " 1:6 " >nul
if errorlevel 1 goto p5
set tpt=6
goto end_f

:p5
type X:\GHSTSTAT.TXT|find /i " 1:5 " >nul
if errorlevel 1 goto p4
set tpt=5
goto end_f

:p4
type X:\GHSTSTAT.TXT|find /i " 1:4 " >nul
if errorlevel 1 goto p3
set tpt=4
goto end_f

:p3
type X:\GHSTSTAT.TXT|find /i " 1:3 " >nul
if errorlevel 1 goto p2
set tpt=3
goto end_f

:p2
type X:\GHSTSTAT.TXT|find /i " 1:2 " >nul
if errorlevel 1 goto err_f
set tpt=2
goto end_f

:err_f
set tpt=2
cls
call w.bat box (+white on +blue) @find_ld.bat:err_f_w
if errorlevel 100 goto end_f
if "%?%"=="2" goto boot
if "%?%"=="1" goto end_f

:err_f_w

错误: 第1硬盘至少要有2个分区,经检测第1硬盘只有1个分区,
无法进行"一键备份/恢复C盘",如果要进行其它操作,请按"继续".



::

:boot
func -r

:end_f

第28楼 lianjiang2004 发表于 2007-02-08 08:50
金牌会员 发帖 1,884 积分 3,946
Originally posted by cnpith at 2007-2-7 09:13:



tools文件夹下find_ld.bat设定的变量,还没有完全看懂


到这里,你已基本弄明白了。呵呵。
继续努力。
第29楼 niutao1 发表于 2007-02-08 11:05
初级用户 发帖 41 积分 94
如果我想使用ghost分区后直接进行光盘对硬盘的,该怎样实现那
第30楼 cnpith 发表于 2007-02-09 11:36
初级用户 发帖 21 积分 48
Originally posted by niutao1 at 2007-2-7 10:05 PM:
如果我想使用ghost分区后直接进行光盘对硬盘的,该怎样实现那



实现所有的步骤都是自动完成的吗?
上一页  1 2 3  下一页
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023