【发布时间】:2014-11-30 17:57:56
【问题描述】:
我想要一种将 ZIP 文件刻录成 ISO 文件的快速方法,因此我使用了 NeroCmd.exe,它是 Nero 的命令行工具。当我使用以下命令时:
NeroCmd --write --drivename "Image Recorder" --real --iso isoName rarFile.rar
问题是它提示输入图像名称,我不知道是否可以在参数中指定它以及我应该包含哪个参数,假设图像名称是“Image.iso”。
编辑:
我尝试使用--output_image test.iso,所以我的最终代码是:
NeroCmd --write --no_error_log --drivename "Image Recorder" --real --iso Drive --enable_abort --underrun_prot --output_image Image.iso --verify rarFile.rar
但没有创建文件,这是控制台输出:
PHASE: Unspecified
[i] Generation of disc structures started
Creating directories
[i] Creating directories
PHASE: Unspecified
[i] Generation of disc structures completed
Checking discs
[i] Checking discs
Enter file name to save image to (RETURN to abort): GameSetup.iso
There is not enough space available to burn the image.
Enter file name to save image to (RETURN to abort): Not enough space available in the given location.
[!] Canceled by user
ERROR: The operation cannot be performed without user interaction!
User aborted!
该命令在没有该参数的情况下可以完美运行,但问题是它会提示。
【问题讨论】:
-
NeroCmd User manual 拥有所有命令行选项。
-
我知道,但不详细。例如它是“--something 指定图像名称”,我不知道它是输入图像还是输出,所以我迷路了。