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!
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.
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.
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?