中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-07-23 19:19
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » 我怎么取消这个菜单? 查看 3,212 回复 32
16 发表于 2007-02-04 08:24 ·  中国 北京 联通
初级用户
积分 94
发帖 41
注册 2007-01-22 11:28
19年会员
UID 77333
性别 男
状态 离线
我想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 发表于 2007-02-05 05:54 ·  中国 北京 海淀区 联通
初级用户
积分 48
发帖 21
注册 2007-01-29 06:28
19年会员
UID 78009
性别 男
状态 离线
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 发表于 2007-02-05 10:02 ·  中国 北京 朝阳区 联通
初级用户
积分 48
发帖 21
注册 2007-01-29 06:28
19年会员
UID 78009
性别 男
状态 离线
张帖张图
附件
1.GIF
19 发表于 2007-02-05 10:46 ·  中国 北京 联通
初级用户
积分 94
发帖 41
注册 2007-01-22 11:28
19年会员
UID 77333
性别 男
状态 离线
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 发表于 2007-02-05 10:52 ·  中国 北京 联通
初级用户
积分 94
发帖 41
注册 2007-01-22 11:28
19年会员
UID 77333
性别 男
状态 离线
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 发表于 2007-02-06 08:50 ·  中国 北京 海淀区 联通
初级用户
积分 48
发帖 21
注册 2007-01-29 06:28
19年会员
UID 78009
性别 男
状态 离线
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 发表于 2007-02-06 10:02 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
积分 2,404
发帖 946
注册 2005-09-08 13:44
20年会员
UID 42345
状态 离线
Originally posted by cnpith at 2007-2-1 12:20:


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

在win下winrar试试!
23 发表于 2007-02-06 10:02 ·  中国 北京 联通
初级用户
积分 94
发帖 41
注册 2007-01-22 11:28
19年会员
UID 77333
性别 男
状态 离线
你把config贴出来看看!
dos要求autoexec与config里的光驱名称对应
24 发表于 2007-02-06 11:05 ·  中国 北京 朝阳区 联通
初级用户
积分 48
发帖 21
注册 2007-01-29 06:28
19年会员
UID 78009
性别 男
状态 离线
到这一步了
马上就要成功了
怎么把X的盘符变成光盘的盘符



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


@echo off
rem 初始化
if exist u.dat set shd=2
if not exist u.dat set shd=1
ghost -clone,mode=pload,src=%shd%:%tpt%:\c_pan.gho:1,dst=%shd%:1 -fro -sure -fx



[ Last edited by cnpith on 2007-2-5 at 10:06 PM ]
附件
1.GIF
25 发表于 2007-02-06 12:46 ·  中国 北京 海淀区 联通
初级用户
积分 48
发帖 21
注册 2007-01-29 06:28
19年会员
UID 78009
性别 男
状态 离线
成功了
发一贴汇报一下

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 发表于 2007-02-07 01:32 ·  中国 北京 联通
初级用户
积分 94
发帖 41
注册 2007-01-22 11:28
19年会员
UID 77333
性别 男
状态 离线
lz的着两个变量指得是?
%shd%:%tpt%
27 发表于 2007-02-07 09:13 ·  中国 北京 朝阳区 联通
初级用户
积分 48
发帖 21
注册 2007-01-29 06:28
19年会员
UID 78009
性别 男
状态 离线
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 发表于 2007-02-08 08:50 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
积分 3,946
发帖 1,884
注册 2006-01-20 13:00
20年会员
UID 49283
性别 男
状态 离线
Originally posted by cnpith at 2007-2-7 09:13:



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


到这里,你已基本弄明白了。呵呵。
继续努力。
Windows 一键还原
http://www.yjhy.com
29 发表于 2007-02-08 11:05 ·  中国 北京 联通
初级用户
积分 94
发帖 41
注册 2007-01-22 11:28
19年会员
UID 77333
性别 男
状态 离线
如果我想使用ghost分区后直接进行光盘对硬盘的,该怎样实现那
30 发表于 2007-02-09 11:36 ·  中国 北京 朝阳区 联通
初级用户
积分 48
发帖 21
注册 2007-01-29 06:28
19年会员
UID 78009
性别 男
状态 离线
Originally posted by niutao1 at 2007-2-7 10:05 PM:
如果我想使用ghost分区后直接进行光盘对硬盘的,该怎样实现那



实现所有的步骤都是自动完成的吗?
论坛跳转: