China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 14:02
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Help] Command-line programs similar to WINIMAGE for updating IMG files View 3,178 Replies 3
Original Poster Posted 2004-10-02 00:00 ·  中国 河北 沧州 黄骅市 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
I want to make a command-line program that runs in the MSDOS window of WINDOWS, which is required to be able to update the IMG file like WINIMAGE. For example: xxx.com 1.img autoexec.bat can add the autoexec.bat in the current directory to 1.img and overwrite the file with the same name.
DOS之家 http://doshome.com 站长 葛明阳
Floor 2 Posted 2004-10-03 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
It can be realized with the IMG tool, for example:
IMG A 1.IMG AUTOEXEC.BAT
This tool can run in pure DOS or in the DOS window, but it does not support long file names.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2006-09-29 22:53 ·  中国 广东 汕头 电信
初级用户
Credits 135
Posts 49
Joined 2006-04-28 10:01
20-year member
UID 54589
Status Offline
Originally posted by Wengier at 2004-10-3 00:00:
It can be achieved with an IMG tool, such as:
IMG A 1.IMG AUTOEXEC.BAT
This tool can run in pure DOS or in a DOS window, but it does not support long filenames.


I tried it and it can run in the CMD of XP, but it only supports 1.44M. Is there a later version?

[ Last edited by tmt2006 on 2006-9-30 at 01:48 ]
Floor 4 Posted 2010-12-21 21:48 ·  中国 广东 东莞 电信
新手上路
Credits 4
Posts 2
Joined 2006-04-26 18:57
20-year member
UID 54505
Status Offline
IMG.EXE. What about it??? Is it exactly that DiskImager 1.1?
Forum Jump: