[ Last edited by hxj on 2005-9-11 at 02:47 ]作者: Wengier 时间: 2005-8-21 07:27 對於IMG,有!比如IMG 2.0就可以做到,例如:
IMG A DOS.IMG FILE.DAT作者: hxj 时间: 2005-8-21 08:35
Quote:
Originally posted by Wengier at 2005-8-21 07:27 AM:
對於IMG,有!比如IMG 2.0就可以做到,例如:
IMG A DOS.IMG FILE.DAT
MagicISO not only creates ISO image file on Window GUI, but it is also able to creates ISO image files on Windows command line. you can find miso.exe that is MagicISO command line utility in MagicISO installation directory.
Commands of miso.exe
Commands Paramenters Description
-f dir Set the working directory in ImageFile, Default: \ (Root)
-a file/folder Add files and folders into iso image file
-x dir [wildcard] Extracting files and folders with subfolder from iso image file to directory
-c foldername create new folder
-d wildcard Delete the files/folders within iso image file
-aj Create Joliet Volume
-rj Remove Joliet Volume
-au Create UDF Volume
-ru Remove UDF Volume
-ar Create Rock Ridge Volume
-rr Remove Rock Ridge Volume
-ab BootFile Make bootable iso file
-rb Remove bootable information from ISO file
-l1 ISO Level 1(DOS: Max. of 11 = 8+3 chars)
-l2 ISO Level 2(Windows/Unix: Max. of 31 chars)
-l3 ISO 9660:1999 v2 (Max. of 207)
-py yes for all queries.
-pn no for all queries.
1. If tools.iso doesn't exist, then create tools.iso.
2. Create "tools" folder into root directory of iso image file.
3. if "back up" folder doesn't exist, then create "back up" folder into root directory of iso image file first. After that, miso creates "magiciso" folder into "back up" folder.
4. Set volume label of iso image file to "TOOLS CD".
miso tools.iso -f tools -a *.exe -a "c:\compiler tools"
1. If tools.iso doesn't exist, then create tools.iso.
2. Set "\tools" folder to the current working folder.
3. Add "*.exe" files into "\tools" folder
4. Add "c:\compile tools" folder into "\tools" folder.
miso tools.iso -f tools -x c:\tools *.exe
1. If tools.iso doesn't exist, then create tools.iso.
2. Set "\tools" folder to the current working folder.
3. Extract "\tools\*.exe" (includes *.exe files in subfolder) to c:\tools.
miso tools.iso -d *.exe
1. If tools.iso doesn't exist, then create tools.iso.
2. Delete all "*.exe" files within root directory of tools.iso
miso tools.iso -d *
1. Empty tools.iso
miso tools.iso -l3 -ab "c:\98_inst\bootxp.bif"
1. If tools.iso doesn't exist, then create tools.iso.
2. Enable ISO Level 3 format
3. Add "bootxp.bif" bootable image file into iso image file.
Possible sizes of disk image files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
With the creation of a new disk image file a size can be specified with the
switch '-s'. The following table shows the possible combination of the number of tracks and sectors per track (while the number of sides is 2). The given sizes are in KB.
The first row contains the sectors per track and the first column the number
of tracks:
*) The combination of 84 tracks and 20 sectors per track leads to the same
size as 80 tracks and 21 sectors per track.
The size 720 matches with a DD 3 1/2" floppy disk.
The size 1200 matches with a HD 5 1/4" floppy disk.
The size 1440 matches with a HD 3 1/2" floppy disk.
我在试EASYBOOT生成的有几M大小的IMG时甚至先把里面的文件删空,都不能加入文件,提示是 invalid disk image ,软件不认这种格式的IMG,用Winimage 生成的4.57M文件也不认,用一现成的可启动2.88M的IMG却是能加入文件的。
看来还是IMG文件必须是软盘镜像,其它镜像文件可能不太支持。作者: willsort 时间: 2005-9-2 16:43 Re hxj:
raw disk image - 软盘的直接读写镜像,没有文件头,没有数据压缩;
other forms of raw disk images - 含有不超过10000 字节的任意内容的文件头直接读写镜像,没有数据压缩;
HD-copy image - 用HD-Copy制作的镜像,有数据压缩;
VGA-Copy image - 用压缩软件ARJ制作的镜像,有数据压缩;