无忧启动论坛

标题: 用UltraISO在命令行下给已有ISO打补丁或制作新ISO(上传了例子P) [打印本页]

作者: wang6610    时间: 2007-3-12 09:57
标题: 用UltraISO在命令行下给已有ISO打补丁或制作新ISO(上传了例子P)
UltraISO Command Line Parameters :

-volume string   Volume Label
-sysid string      System ID
-appid string     Application ID
-volset string     Volume Set ID
-preparer string Preparer
-publisher string Publisher

-ilong          Long filename for ISO 9660 volume, up to 31 chars
-imax          Max filename for ISO 9660 volume, up to 207 chars
-vernum      Include file version number
-lowercase  Allow lowercase letter

-joliet          Create joliet volume
-jlong          Long filename for joliet volume, up to 103 chars
-rockridge  Create RockRidge volume
-udf            Create UDF volume
-hfs            Create Apple HFS volume

-udfdvd      Create UDF DVD image, this option will overwrite all other volume settings

-bootfile filename   Set boot file
-bootfile filename   Set boot file
-bootinfotable        Generate boot information table in boot file
-optimize               Optimize file systems by coding same files only once

-file filename          Add one file or folder (include folder name and all files and folders under it)
-directory dirname Add all files and folders under given directory (not include directory name itself)

-newdir dirname    Create a new directory
-chdir dirname       Change current directory in ISO image
-rmdir filename       Remove a file or folder from ISO image (full path should be specified)

          -pn filename           n=1-9, set priority of a file or folder(full path should be specified)  
          -hide filename         Set hidden attribute of a file or folder(full path should be specified)
          -ahide filename       Set advanced hidden attribute of a file or folder(full path should be specified)

          -input filename       Input ISO image
          -output filename     Output ISO image

          -bin2iso filename   Convert input CD/DVD image to ISO format
          -dmg2iso filename Convert input DMG image to ISO format
          -list filename         Create a list of files and folders in an ISO image
          -get filename         Set a file or folder(full path should be specified) to be extracted
          -extract dirname    Extract ISO image to specified directory

          -copy drive:           Make ISO image from a CD/DVD drive (use -output to define the filename)

          -checksum             Create file checksums before saving an ISO image
          -md5                     Generate MD5 hash code of ISO image after saved
          -crc32                   Generate CRC-32 checksum of ISO image after saved
          -crc16                   Generate CRC-16/CRC-CCITT checksum of ISO image after saved

          --checksum  filename          Create file checksums of an ISO image
          --md5 filename                   Generate MD5 hash code of an ISO image
          --crc32 filename                 Generate CRC-32 checksum of an ISO image
          --crc16 filename                 Generate CRC-16/CRC-CCITT checksum of an ISO image

          -veryfy  filename.iso.md5    Verify file checksums of an ISO image
          -veryfymd5 filename.md5    Verify MD5 checksum of an ISO image

          -cmd filename                     Read ALL coammnd-line options from a text file

          -silent                    Do not show any popup windows

Return code:      0 for success,  -1 for error

Example

        1)  ultraiso -imax -l -f c:\autoexec.bat -d "c:\program files\ultraiso" -volu TEST_CD -out c:\test.iso

        Create a new ISO image, adding one file(autoexec.bat) and all files and folders in "c:\program files\ultraiso" to it. Using ISO 9660-MAX name length(up to 207) and allow lowercase characters in filename.

        Note: You can use shorter name 'l' for 'lowercase' and 'out' for 'output', so long as it does not conflict  with other parameters. In addition, all string or filename with SPACE character should be quoted by "".

         2)  ultraiso -in c:\test.iso -f c:\config.sys -f "c:\program files\ultraiso"

        Open an old ISO image, and add one file and one folder to it.

         3)  ultraiso -in c:\test.iso -c "/program files/ultraiso" -f "c:\autoexec.bat" -rm /autoexec.bat

        Open an ISO image exists, change directory and add one file there; then remove one file.

        Note: '/' is used as path separators in an ISO image.

例子:


ultraiso -in 源.iso -rm /要删的文件1.ext -rm /要删的文件2.ext  -rm /要删的文件3.ext -rm /boot/要删的文件4.ext -rm /I386/要删的文件5.ext -rm /I386/要删的文件6.ext  -f "aaaaa\i386" -f "dddddd\EZBOOT" -d "ddddddd\readme" -jlong -imax -optimize -bootfile yhfjj\boot.bin -volu 卷标XXXXX -out 靶.iso


-f "aaaaa\i386"   把批处理所在目录下的aaaaa下的i386下的所有文件添加到ISO中已有i386中。
-f "dddddd\EZBOOT"  与上累死
-d "ddddddd\readme"  把批处理所在目录下的ddddddd下的readme目录及其下的所有文件和子目录添加到ISO中(源.ISO无read目录) 

[ 本帖最后由 wang6610 于 2007-3-15 06:07 PM 编辑 ]

patch_iso.rar

281 Bytes, 下载次数: 258, 下载积分: 无忧币 -2


作者: jetluo    时间: 2007-3-12 09:58
deepin的升级包就是这样做出来的吧
作者: tonyxu2000    时间: 2007-3-12 11:25
大大的照片很好看啊
作者: bd540    时间: 2007-3-12 12:36
提示: 作者被禁止或删除 内容自动屏蔽
作者: 龙啸    时间: 2007-3-12 14:53
终于可以自己做了!
作者: 光哥    时间: 2007-3-12 16:46
这个不错!
作者: sypl888    时间: 2007-3-12 21:30
等......................
作者: jiangfeng321    时间: 2007-3-12 22:01
呵呵 还是不太喜欢命令行的东西啊
作者: wang6610    时间: 2007-3-13 07:23
呵呵,是给高手发布光盘补丁用的。。。

菜鸟还是不试为好。
作者: btvcctv    时间: 2007-3-13 13:54
老大整点界面操作的东西呀
作者: q8q8feng    时间: 2007-3-13 16:21
学习一下哈 谢谢wang6610:P
作者: taoty    时间: 2007-3-14 15:17
还是希望楼主弄两个例子出来学习一下。
作者: duhe    时间: 2007-3-14 16:19
提示: 作者被禁止或删除 内容自动屏蔽
作者: clx6315    时间: 2007-3-14 18:11
汗~~~~~~~~~~~~~~~看不懂的说~
作者: rock269    时间: 2007-3-15 09:36
学习一下,不过有图片就是最好的了
作者: LSWYL2007    时间: 2007-3-15 16:31
能发个做法实例吗....
作者: willsion    时间: 2007-3-15 16:46
这样,有点类似oscdimg(cdimage)了。

只是ultraiso可以对ISO进行操作,而oscdimg(cdimage)只可以将某一目录制作成iso。
作者: wang6610    时间: 2007-3-15 18:10
顶楼上传了实例批处理。
作者: kafen    时间: 2007-3-16 01:02
原帖由 wang6610 于 2007-3-15 06:10 PM 发表
顶楼上传了实例批处理。

呵呵,顶一下!其实上面的例子已经很多了。。。。。
作者: Jackie.Shi    时间: 2007-3-16 09:23
这也只适合于像老毛桃的光盘啊
作者: tongf123    时间: 2007-3-16 10:57
好~~~谢谢~~:lol:lol
作者: 三色(色)    时间: 2007-3-20 09:23
有点看不懂:'( :'( :'(
作者: 阿尔法孝直    时间: 2007-6-15 12:32
1、能翻译成中文吗?
2、对ISO进行文件优化的参数是什么?
作者: 九牧追风    时间: 2007-8-17 21:15
学习了,有空的时候实践一下:D
作者: bd540    时间: 2007-9-17 06:17
提示: 作者被禁止或删除 内容自动屏蔽
作者: ybsice_123    时间: 2007-9-17 10:34
:L 还是英文的。能不能详细说明下呢????




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