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-02 23:18
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to create an IMG file in pure DOS (7.1 or 6.22)? The command-line method View 2,323 Replies 12
Original Poster Posted 2007-10-18 00:47 ·  中国 福建 泉州 电信
初级用户
Credits 20
Posts 9
Joined 2007-10-18 00:19
18-year member
UID 100027
Gender Male
Status Offline
How to make an IMG file in pure DOS (7.1 or 6.22)?

Need the command-line method, no graphical interface~

Also, after the system boots, can the img image mounted by grub operate on the img file of the image, such as deleting, renaming...?

How to make an IMG of non-standard size (XXMB)? Is there a corresponding tool under pure DOS?

Well, I'm writing a system ghost environment for a little girl, so there are a bit more questions. Hehe~

I have some management information to write back to the hard disk~ It's best to write back to the image~ And can be read directly~ Is there a way?
Floor 2 Posted 2007-10-22 16:28 ·  中国 福建 泉州 电信
初级用户
Credits 20
Posts 9
Joined 2007-10-18 00:19
18-year member
UID 100027
Gender Male
Status Offline
Floor 3 Posted 2007-10-22 17:44 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 4 Posted 2007-10-28 01:12 ·  中国 福建 泉州 电信
初级用户
Credits 20
Posts 9
Joined 2007-10-18 00:19
18-year member
UID 100027
Gender Male
Status Offline
Originally posted by Must Love at 2007-10-22 05:44 PM:
Use winimage to write the system ghost environment,

What I want to talk about in this topic is the hope for having "dosimage"

I don't know how the old folks in the DOS era solved the img issues
Floor 5 Posted 2008-12-09 18:41 ·  中国 江西 宜春 电信
新手上路
Credits 6
Posts 3
Joined 2008-12-01 17:35
17-year member
UID 132595
Gender Male
Status Offline
I'm also looking for relevant software. Under pure DOS, in command-line mode, to solve the problem of accessing and storing IMG format files
Floor 6 Posted 2008-12-12 01:19 ·  中国 上海 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
If only for generating and releasing floppy disk image files in command line mode, wimage can do it, for example:

wimage a: boot.img
wimage boot.img a:
Floor 7 Posted 2008-12-12 12:49 ·  中国 安徽 马鞍山 联通
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by DOSforever at 2008-12-12 01:19:
If only generating and releasing floppy disk image files in command line mode, wimage can do it, for example:

wimage a: boot.img
wimage boot.img a:


DOS, command line, both indispensable, heh heh.
Windows 一键还原
http://www.yjhy.com
Floor 8 Posted 2008-12-12 20:50 ·  中国 上海 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
Originally posted by lianjiang2004 at 2008-12-12 12:49:

DOS, command line, indispensable, he he.

Nothing is wrong?
Floor 9 Posted 2008-12-12 22:51 ·  中国 安徽 马鞍山 联通
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by DOSforever at 2008-12-12 20:50:

What's wrong?

I'm sorry, I mistook it for winimage.
Oh, there's also a wimage? I'm ignorant, I've never seen it.
Windows 一键还原
http://www.yjhy.com
Floor 10 Posted 2008-12-12 22:57 ·  中国 安徽 马鞍山 联通
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
I've googled for a long time and still didn't find the explanation of wimage.
Windows 一键还原
http://www.yjhy.com
Floor 11 Posted 2008-12-13 00:31 ·  中国 上海 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
WIMAGE and FDFORMAT are by the same author, and the functions of WIMAGE are basically the same as HD-COPY.

WIMAGE-Write Disk to File/Read Disk from File-V1.21
Copyright (c) 1988 - 1991, Christoph H. Hochst則ter

Syntax is: WIMAGE <drive>: <file> (write Diskette to file)
WIMAGE <file> <drive>: (read Diskette from file)

Exapmles: WIMAGE A: C:\DISKS\MYDISK.360
WIMAGE C:\DISKS\DOS330.144 A:


I only have these two executable files alone, but not the complete distribution package. I wonder who has it.
Attachments
WIMAGE.ZIP (7.77 KiB, Credits to download 1 pts, Downloads: 12)
Floor 12 Posted 2008-12-13 08:46 ·  中国 安徽 马鞍山 联通
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Got it, let's take a look. Thanks for providing it.
Windows 一键还原
http://www.yjhy.com
Floor 13 Posted 2008-12-13 09:36 ·  中国 河北 保定 移动
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
The problem is that this wimage only supports reading and writing floppy disk images from the floppy drive. If you want to add or reduce content in the image, there is no way. Although winimage provides the corresponding SDK, it is only suitable for the Windows environment. There really hasn't appeared a command line under DOS.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Forum Jump: