无忧启动论坛

标题: [求助]版主,有没有在纯DOS模式下添加文件到IMG中的程序 [打印本页]

作者: pc之友    时间: 2008-12-9 13:00
标题: [求助]版主,有没有在纯DOS模式下添加文件到IMG中的程序
用WinImage只能在WIN模式下使用,不能在纯DOS下使用,有没有能在纯DOS下将文件植入软盘映像文件IMG中,请高手指教,谢谢!!!

[ 本帖最后由 pc之友 于 2008-12-9 22:22 编辑 ]
作者: yuanlixg    时间: 2008-12-9 13:51
有的,因为太多了,没法说。
能模拟软盘、硬盘、光盘的都有。
建议下个 DOS工具箱,从中选你要的。在DOS区,PE 区的合盘也有DOS工具箱。
作者: pc之友    时间: 2008-12-9 14:08
标题: 回复 #2 yuanlixg 的帖子
谢谢 yuanlixg朋友的解答,我要的是象WINIMAGE这样的软件,只不过是在纯DOS下使用,比如说:我要在DOS下,将AB.TXT文件植入到名为ABC.IMG映像文件中,在XP的命令行下可以用
WinImage做到,
格式为:winimage abc.img /i ab.txt /h
但WinImage程序不能在纯DOS下使用,望高手指点,谢谢!!!
作者: yuanlixg    时间: 2008-12-9 17:26
mtools 能在 dos, windows, linux, unix 下处理 FAT FAT32 Image 和 软盘的软件。
装Linux 基本都有它。mtools 现在在网上只有linux 下的 二进制包下载。
但可以下载源码。能用 VC 编译 Windows下的。
用 DJGPP 编译 DOS 下的。
在过去 DOS、Windows 下的 二进制包是可以下载的,
现在 DOS、Windows 下没什么人用,作者就不费劲了。
作者: yuanlixg    时间: 2008-12-9 18:03
在Google上找到了。

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

下载:
http://www.frontiernet.net/~fys/zips/mtools.zip
作者: pc之友    时间: 2008-12-9 21:24
标题: 回复 #5 yuanlixg 的帖子
谢谢兄弟,我在中国DOS联盟上也找到个IMG.exe,2个我都试用一下,看如何
作者: pc之友    时间: 2008-12-9 22:20
标题: 回复 #5 yuanlixg 的帖子
刚试验过,2个程序试验均不成功,你提供的MTOOLS不能在纯DOS下使用,而我在中国DOS联盟下载的IMG.EXE程序只是一闪而过,并没有将ab.txt文件添加进abc.img文件中...
希望有这方面实例的高手指点一二,谢谢!
作者: lianjiang    时间: 2008-12-10 08:22
一闪而过,那也可能仅是参数使用错误。呵呵。
作者: lianjiang    时间: 2008-12-10 08:53
另外也要注意,有些dos年代的工具只支持标准规格的img,而现在是各种非标img横行,已无多大用途了。
作者: pc之友    时间: 2008-12-10 09:31
标题: 回复 #9 lianjiang 的帖子
呵呵,我开始用的是2.88,后改用1.44,结果一样,不知何故?请哪位高手于以试验一下,不吝赐教,如果有其他的程序工具也请上传,谢谢!!!

[ 本帖最后由 pc之友 于 2008-12-10 09:33 编辑 ]
作者: lianjiang    时间: 2008-12-10 11:23
到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
作者: yuanlixg    时间: 2008-12-10 12:43
UnDisk 1.6 当年DOS高手 冯志宏 写的。

undisk1_6.rar

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


作者: pc之友    时间: 2008-12-10 12:49
标题: 回复 #11 lianjiang 的帖子
不好意思,我找了半天也只在中国DOS联盟中找到这个,应该不是2.0,我试了他的参数,一个都没用,lianjiang 兄弟如果你找到了就麻烦你传一个上来,谢谢啦...
作者: yuanlixg    时间: 2008-12-10 13:08
抱歉,看错了,是添加。

[ 本帖最后由 yuanlixg 于 2008-12-10 13:17 编辑 ]
作者: lianjiang    时间: 2008-12-10 13:25
原帖由 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


作者: pc之友    时间: 2008-12-10 15:15
已经实验成功, 感谢
lianjiang
大元帅的技术支持!!!

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

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

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




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3