这个程序支持命令行参数的,参考如下:
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
-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
-bin2isz filename Compress input CD/DVD image to ISZ format
-compress n Set compression level, n = 1-6
-encrypt x Set encrypty method, x = 1-3
-password pass_word_string Set password
-split split_size Set segment size in byte
-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. |