无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3808|回复: 8
打印 上一主题 下一主题

请教有什么工具或命令可以在命令行下替换IMG或ISO里文件

[复制链接]
跳转到指定楼层
1#
发表于 2007-11-10 18:41:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
请教有什么工具或命令可以在命令行下替换IMG或ISO里文件,好象看见YYQ572修改老毛桃PE的中秋最终版里有工具可以直接修改ISO文件,不知道是什么工具,知道人的请说一声,谢谢!
2#
发表于 2007-11-10 22:16:37 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

3#
发表于 2007-11-10 22:58:10 | 只看该作者
ISO好办,IMG不知道怎么办。
回复

使用道具 举报

4#
 楼主| 发表于 2007-11-16 14:31:01 | 只看该作者
DOS命令下修改 IMG 我找到方法了,ISO怎么改,请告诉一声,谢谢!
回复

使用道具 举报

5#
发表于 2007-11-16 14:46:36 | 只看该作者
UltraISO 支持命令行。

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.
回复

使用道具 举报

6#
发表于 2007-11-16 14:54:41 | 只看该作者
IMG文件可以用IMDISK
回复

使用道具 举报

7#
发表于 2007-11-16 16:47:03 | 只看该作者
看一个P处理:
start /wait miso2.exe DOSAV_NY.iso -f ezboot -d *.img -py
start /wait miso2.exe DOSAV_NY.iso -f ezboot -a *.img -py
start /wait miso2.exe DOSAV_NY.iso -f RISINGCD -d *.def -py
start /wait miso2.exe DOSAV_NY.iso -f RISINGCD -d *.cfg -py
start /wait miso2.exe DOSAV_NY.iso -f RISINGCD -d *.inf -py
start /wait miso2.exe DOSAV_NY.iso -f RISINGCD -a %CD%\update\Ravdos\*.* -py
start /wait miso2.exe DOSAV_NY.iso -f RISINGCD -a %CD%\update\Linux\*.* -py && %windir%\regedit /s unreg.reg

[ 本帖最后由 zhaohj 于 2007-11-16 04:48 PM 编辑 ]

miso2.rar

271.08 KB, 下载次数: 177, 下载积分: 无忧币 -2

回复

使用道具 举报

8#
发表于 2007-11-16 17:06:18 | 只看该作者
原帖由 nn2nn 于 2007-11-10 10:16 PM 发表
YYQ572能出补丁版,就是他厉害!!


晕,无语,我只是将  两个文件进行原始的二进制比较 ,再将其还原,会 C语言的都该会的,很低级的东西
回复

使用道具 举报

9#
 楼主| 发表于 2007-11-19 02:31:55 | 只看该作者
感谢大家的热心帮助,问题已解决!

呵,yyq572 二进制改文件的方法,我也想到过,不过没深入思考,所以很好奇他的方法,现在一说出来,还真是恍然大悟。

再次谢谢楼上各位!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-7-29 01:37

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表