无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: pc之友
打印 上一主题 下一主题

[求助]版主,有没有在纯DOS模式下添加文件到IMG中的程序

[复制链接]
跳转到指定楼层
1#
发表于 2008-12-9 13:00:46 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用WinImage只能在WIN模式下使用,不能在纯DOS下使用,有没有能在纯DOS下将文件植入软盘映像文件IMG中,请高手指教,谢谢!!!

[ 本帖最后由 pc之友 于 2008-12-9 22:22 编辑 ]
2#
发表于 2008-12-9 13:51:48 | 只看该作者
有的,因为太多了,没法说。
能模拟软盘、硬盘、光盘的都有。
建议下个 DOS工具箱,从中选你要的。在DOS区,PE 区的合盘也有DOS工具箱。
回复

使用道具 举报

3#
 楼主| 发表于 2008-12-9 14:08:37 | 只看该作者

回复 #2 yuanlixg 的帖子

谢谢 yuanlixg朋友的解答,我要的是象WINIMAGE这样的软件,只不过是在纯DOS下使用,比如说:我要在DOS下,将AB.TXT文件植入到名为ABC.IMG映像文件中,在XP的命令行下可以用
WinImage做到,
格式为:winimage abc.img /i ab.txt /h
但WinImage程序不能在纯DOS下使用,望高手指点,谢谢!!!
回复

使用道具 举报

4#
发表于 2008-12-9 17:26:43 | 只看该作者
mtools 能在 dos, windows, linux, unix 下处理 FAT FAT32 Image 和 软盘的软件。
装Linux 基本都有它。mtools 现在在网上只有linux 下的 二进制包下载。
但可以下载源码。能用 VC 编译 Windows下的。
用 DJGPP 编译 DOS 下的。
在过去 DOS、Windows 下的 二进制包是可以下载的,
现在 DOS、Windows 下没什么人用,作者就不费劲了。
回复

使用道具 举报

5#
发表于 2008-12-9 18:03:43 | 只看该作者
在Google上找到了。

"MTOOLs for Bochs and Win32 and/or DOS"
http://www.frontiernet.net/~fys/mtools.htm

下载:
http://www.frontiernet.net/~fys/zips/mtools.zip
回复

使用道具 举报

6#
 楼主| 发表于 2008-12-9 21:24:30 | 只看该作者

回复 #5 yuanlixg 的帖子

谢谢兄弟,我在中国DOS联盟上也找到个IMG.exe,2个我都试用一下,看如何
回复

使用道具 举报

7#
 楼主| 发表于 2008-12-9 22:20:30 | 只看该作者

回复 #5 yuanlixg 的帖子

刚试验过,2个程序试验均不成功,你提供的MTOOLS不能在纯DOS下使用,而我在中国DOS联盟下载的IMG.EXE程序只是一闪而过,并没有将ab.txt文件添加进abc.img文件中...
希望有这方面实例的高手指点一二,谢谢!
回复

使用道具 举报

8#
发表于 2008-12-10 08:22:15 | 只看该作者
一闪而过,那也可能仅是参数使用错误。呵呵。
回复

使用道具 举报

9#
发表于 2008-12-10 08:53:14 | 只看该作者
另外也要注意,有些dos年代的工具只支持标准规格的img,而现在是各种非标img横行,已无多大用途了。
回复

使用道具 举报

10#
 楼主| 发表于 2008-12-10 09:31:59 | 只看该作者

回复 #9 lianjiang 的帖子

呵呵,我开始用的是2.88,后改用1.44,结果一样,不知何故?请哪位高手于以试验一下,不吝赐教,如果有其他的程序工具也请上传,谢谢!!!

[ 本帖最后由 pc之友 于 2008-12-10 09:33 编辑 ]
回复

使用道具 举报

11#
发表于 2008-12-10 11:23:05 | 只看该作者
到dos联盟下载一个img 2.0e的,支持2.88mb。

IMG  Version 2.0e Copyright (c) 1994-1996 by Falk Huth
*** (Internet email: wshao@cluster.urz.uni-halle.de)
*** Please read the documentation file.

Usage:     IMG <command> [-<sw> [-<sw>...]] <image_name> [<file_names>...]

<file_names>
   <file>[ <file>[ <file>[ ...]]]        includes specified files
   @<file>[ @<file> [...]]               includes lists in each @<file>
<Commands>
  a: Add files to image                  m: Move files to image
  d: Delete files from image             t: Test integrity of image
  e: Extract files from image            v: Verbosely list contents of image
  l: List contents of image              x: eXtract files with full pathname
<Switches>
  d: Destination for all image volumes   q: Query on each file
     eg.: -dC:\INSTALL\BIG_PRG           r: Recurse subdirectories
  e: Erase after finishing               s: Size of the new image
  n: Destination directory's Name        v: enable multiple Volumes
     eg.: -nC:\INSTALL\BIG_PRG\DISK1     x: eXclude selected files
  p: match using Pathnames               y: assume Yes on all queries
回复

使用道具 举报

12#
发表于 2008-12-10 12:43:47 | 只看该作者
UnDisk 1.6 当年DOS高手 冯志宏 写的。

undisk1_6.rar

39.07 KB, 下载次数: 76, 下载积分: 无忧币 -2

回复

使用道具 举报

13#
 楼主| 发表于 2008-12-10 12:49:03 | 只看该作者

回复 #11 lianjiang 的帖子

不好意思,我找了半天也只在中国DOS联盟中找到这个,应该不是2.0,我试了他的参数,一个都没用,lianjiang 兄弟如果你找到了就麻烦你传一个上来,谢谢啦...
回复

使用道具 举报

14#
发表于 2008-12-10 13:08:01 | 只看该作者
抱歉,看错了,是添加。

[ 本帖最后由 yuanlixg 于 2008-12-10 13:17 编辑 ]
回复

使用道具 举报

15#
发表于 2008-12-10 13:25:38 | 只看该作者
原帖由 pc之友 于 2008-12-10 12:49 发表
不好意思,我找了半天也只在中国DOS联盟中找到这个,应该不是2.0,我试了他的参数,一个都没用


IMG  Version 2.0e Copyright (c) 1994-1996 by Falk Huth
*** (Internet email: wshao@cluster.urz.uni-halle.de)
*** Please read the documentation file.

Usage:     IMG <command> [-<sw> [-<sw>...]] <image_name> [<file_names>...]

<file_names>
   <file>[ <file>[ <file>[ ...]]]        includes specified files
   @<file>[ @<file> [...]]               includes lists in each @<file>
<Commands>
  a: Add files to image                  m: Move files to image
  d: Delete files from image             t: Test integrity of image
  e: Extract files from image            v: Verbosely list contents of image
  l: List contents of image              x: eXtract files with full pathname
<Switches>
  d: Destination for all image volumes   q: Query on each file
     eg.: -dC:\INSTALL\BIG_PRG           r: Recurse subdirectories
  e: Erase after finishing               s: Size of the new image
  n: Destination directory's Name        v: enable multiple Volumes
     eg.: -nC:\INSTALL\BIG_PRG\DISK1     x: eXclude selected files
  p: match using Pathnames               y: assume Yes on all queries

img-20e.rar

33.15 KB, 下载次数: 103, 下载积分: 无忧币 -2

img for dos

回复

使用道具 举报

16#
 楼主| 发表于 2008-12-10 15:15:52 | 只看该作者
已经实验成功, 感谢
lianjiang
大元帅的技术支持!!!

说明一下我要这工具的用途:   我自己做了一个一键恢复,包含一键恢复C盘,一键恢复D盘(我一般把D盘做为应用软件安装盘)的功能

试验一下软件使用5次之后或到了预定日期后自动更改menu.hpa中的菜单密码,因此用IMG届时将LINUX.IMG中的menu.hpa文件换掉,

如果还有更简单自动更改密码的方法,请大家进行讨论,告知在下,谢谢!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-19 20:16

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表