Burn dvd at command line

vbimport

#1

Hi, I wont to burn a dvd at command line but i don’t know a procedure, whit a cd i use a following script:
c:\programmi\ahead
ero
erocmd.exe --write --drivename k --underrun_prot --close_session --real --iso “backup” “c:\backup.zip”

There’s a similar script for write on dvd?
Thanks a lot


#2

There’s a similar script for write on dvd?

Exactly the same but with additional parameter: --dvd.


#3

Below are the parameters for NeroCMD.exe, supplied with Nero. You can generate this list yourself by going to the “C:\Program Files\Ahead\Nero” folder in a DOS command-line window and typing NeroCMD.exe with no parameters. To save the list to a text file enter this:

To get a DOS window: Start/ Run/
Enter CMD and press the ENTER key.

Enter this into the DOS window:
c:
cd \Program Files\Ahead\Nero
nerocmd.exe > NeroCMD.txt
notepad nerocmd.txt
That will save the Nero command-line parameter list to a file called NeroCMD.txt, and display the file in Notepad.

Here are the Nero Burning ROM command-line parameters displayed with the above instructions:


Usage:


| List available| --listdrives
| drives |
|_______________|
| Obtain drive | --driveinfo --drivename <name>
| info |
|_______________|
| Obtain disc | --discinfo --drivename <name>
| info |
|_______________|
| Write | --write --drivename <name> [–real] [–tao]
| ISO/Audio Disc| [–artist <artist>] [–title <title>] [–speed <speed>]
| | [–audio] <audio files> [–cdextra] [–iso <volumename>]
| | [–iso-no-joliet] [–iso-mode2] [–speedtest]
| | [–enable_abort] [–close_session] [–detect_non_empty_disc]
| | [–cd_text] [–underrun_prot]
| | [–import_udf] [–import_vms_session]
| | [–use_rockridge] [–create_iso_fs] [–create_udf_fs]
| | [–disable_eject] [–verify] [–dvd] [–use_allspace]
| | <disk file> …
| | [–force_erase_disc] [–nero_log_timestamp]
| | [–output_image <filename>]
| |
| | NOTE: At least one audio file or one disk file needs to be
| | specified!
|_______________|
| Write | --write --drivename <name> [–real] [–tao]
| Video CD | --videocd [–speed <speed>] [–speedtest] [–enable_abort]
| | [–close_session] <video files> [–iso <volumename>]
| | [–iso-no-joliet] [–iso-mode2] [–speedtest]
| | [–enable_abort] [–close_session] [–detect_non_empty_disc]
| | [–underrun_prot] [–disable_eject] <disk file>…
| | [–force_erase_disc] [–nero_log_timestamp]
| | [–temp_path <path>] [–output_image <filename>]
|_______________|
| Write Super | --write --drivename <name> [–real] [–tao]
| Video CD | --svideocd [–speed <speed>] [–speedtest] [–enable_abort]
| | [–close_session] <video files> [–iso <volumename>]
| | [–iso-no-joliet] [–iso-mode2] [–speedtest]
| | [–enable_abort] [–close_session] [–detect_non_empty_disc]
| | [–underrun_prot] [–disable_eject] <disk file>…
| | [–force_erase_disc] [–nero_log_timestamp]
| | [–temp_path <path>] [–output_image <filename>]
|_______________|
| Write image | --write --drivename <name> [–real] [–tao] [–dvd]
| | --image <image filename> [–speed <speed>] [–speedtest]
| | [–enable_abort] [–close_session] [–detect_non_empty_disc]
| | [–underrun_prot] [–disable_eject]
| | [–force_erase_disc] [–nero_log_timestamp]
| | [–output_image <filename>]
|_______________|
| Write | --write --drivename <name> [–real] [–tao]
| freestyle disc| [–artist <artist>] [–title <title>] [–speed <speed>]
| | [–cdextra] [–iso <volumename>]
| | [–freestyle_mode1 <filename>]
| | [–freestyle_mode2 <filename>]
| | [–freestyle_audio <filename>]
| | [–iso-no-joliet] [–iso-mode2] [–speedtest]
| | [–enable_abort] [–close_session] [–detect_non_empty_disc]
| | [–cd_text] [–underrun_prot]
| | [–import_udf] [–import_vms_session]
| | [–use_rockridge] [–create_iso_fs] [–create_udf_fs]
| | [–disable_eject] [–verify] [–use_allspace] <disk file>…
| | [–force_erase_disc] [–nero_log_timestamp]
| | [–output_image <filename>]
| |
| | NOTE: Any number of freestyle tracks can be specified up to
| | a maximum of 99 tracks.!
|_______________|
| Estimate | --estimate --drivename <name> [–tao]
| track size | [–iso <volumename>] [–iso-no-joliet] [–iso-mode2]
| | [–close_session] [–import_udf] [–import_vms_session]
| | [–use_rockridge] [–create_iso_fs] [–create_udf_fs]
| | [–disable_eject] [–dvd] [–use_allspace]
| | [–estimate_no_fs_overhead] [–estimate_no_data]
| | [–estimate_no_exact_size] <disk file> …
|_______________|
| Read audio | --read --drivename <name> [–read_speed <speed>]
| track(s) | --XY <filename> [-XY <filename> …]
|_______________|
| List audio | --listformats
| formats |
|_______________|
| Erase disc | --erase [–entire] --drivename <name>
|_______________|
| Eject disc | --eject --drivename <name>
|_______________|
| Load disc | --load --drivename <name>
|_______________|
| Obtain image | --imageinfo <filename>
| file disc info|
|_______________|
| Version info | --version
|_______________|

Each command supports the following switches: [–no_error_log],
[–error_log <log filename>], [–no_user_interaction] and [@parameter_file]


| --write | Burn disc.
|_______________|
| --drivename | <name> is either the “full name” of the drive or the
| <name> | drive letter.
|_______________|
| --real | Forces the disc to be actually burned. If --real is not
| | specified the process is only simulated.
|_______________|
| --tao | Disc is burned in TAO mode (DAO is default).
|_______________|
| --burnproof | Obsolete option, use --underrun_prot instead.
|_______________|
| --artist | <artist> is the artist name as to be written on disc.
| <artist> |
|_______________|
| --title | <title> is the title to be written on disc.
| <title> |
|_______________|
| --read_speed | <speed> is the speed at which the audio tracks will be read
| <speed> | (in x150KB/s).
|_______________|
| --speed | <speed> is the speed at which the disc will be burned
| <speed> | (for CD in x150 KB/s and for DVD in x1,385 KB/s).
|______________|
| --speed_in
| <speed> is the speed at which the disc will be burned
| kbps <speed> | (in KB/s).
|_______________|
| --audio | The disc is burned with audio information.
|_______________|
| <audio files> | <audio files> is a list of audio files (wav, mp3, wma, pcm).
|_______________|
| --cdextra | Use the CDExtra feature.
|_______________|
| --iso | <volume name> is the volume name to be stored on the disc.
| <volume name> |
|_______________|
|–iso-no-joliet| Do not use Joliet format.
|_______________|
| --iso-mode2 | Burn the disc using mode 2.
|_______________|
| --speedtest | Perform speed test before burning.
|_______________|
| --enable_abort| Notify which operations can and which cannot be aborted.
|_______________|
|–close_session| Close the session, not the whole disc.
|______________|
|–detect_non
| Detect if the disc for burning is a non empty
| empty_disc | RW media and offer to take certain actions.
|_______________|
| --cd_text | Write CD text (if supported by device).
|_______________|
| --videocd | Burn a Video CD.
|_______________|
| --svideocd | Burn a Super Video CD.
|_______________|
| <video files> | <video files> represents a list of video files (mpeg, jpeg).
|_______________|
| --image | <filename> is the filename to the image file.
| <filename> |
|_______________|
| --read | Read audio track(s).
|_______________|
| --XY | XY is the number of the audio track that is to be saved to
| <filename> | <filename>.
|_______________|
| --erase | Erase an RW media.
|_______________|
| --entire | Erase the entire disc (the default is quick erase).
|_______________|
| --eject | Eject disc.
|_______________|
| --load | Load disc.
|_______________|
| --version | Print NeroAPI version information.
|______________|
| --underrun
| Protect from underrun condition.
| prot |
|______________|
| --use
| Use rockridge format.
| rockridge |
|_______________|
| --create | Create ISO filesystem.
| iso_fs |
|
______________|
| --create | Create UDF filesystem.
| udf_fs |
|
______________|
| --dvdvideo | Perform reallocation of files in VIDEO_TS
| realloc | directory.
|
______________|
| --dvdvideo | Create DVD-Video compatible disc.
| cmpt | --create_iso_fs --create_udf_fs and
| | --iso_no_joliet also need to be specified.
|
______________|
| --import | Obsolete option; will be ignored.
| rockridge |
|_______________|
| --import_udf | Import UDF format.
|_______________|
| --import_vms | Import Virtual Multisession (VMS) session
| session | (session number treated as VMS session).
|
______________|
| --import | Obsolete option; will be ignored.
| iso_only |
|
______________|
| --import | Import session number (if omitted, the last
| <session #> | session is imported).
|_______________|
| --prefer | Obsolete option; will be ignored.
| rockridge |
|
_____________|
| --freestyle
| Burn the file in mode 1.
| mode1 |
|______________|
| --freestyle
| Burn the file in mode 2.
| mode2 |
|______________|
| --freestyle
| Burn the file in audio mode.
| audio |
|______________|
| --disable
| Disables disc ejection after burn completion.
| eject |
|_______________|
| --verify | Verify ISO filesystem after writing.
|______________|
| --dvd_high
| Used for better compatibility of burned DVDs.
| compatibility| At least 1GB will be written.
|_______________|
| --dvd | Select DVD as media type.
|_______________|
| --recursive | Do a recursive file search.
|______________|
| --force_erase
| Delete disc without user interaction
| disc | (requires --detect_non_empty_disc).
|______________|
| --nero_log
| Add a timestamp to the log’s file name.
| timestamp |
|_______________|
| --temp_path | Specify a temporary path for Video CD files.
|_______________|
| --media_type | Specify a media type (combine with +)
| <type> | media_cd, media_ddcd, media_dvd_m, media_dvd_p,
| | media_dvd_any, media_dvd_ram, media_ml, media_mrw,
| | media_no_cdr, media_no_cdrw, media_cdrw, media_cdr
| | media_dvd_rom, media_cdrom, media_no_dvd_m_rw,
| | media_no_dvd_m_r, media_no_dvd_p_rw,
| | media_no_dvd_p_r, media_dvd_m_r, media_dvd_m_rw,
| | media_dvd_p_r, media_dvd_p_rw, media_fpacket,
| | media_vpacket, media_packetw, media_hdb or
| | media_dvd_p_r9).
|______________|
| --no_user
| Allow the whole process to take place with no user
| interaction | interaction (no questions asked).
|_______________|
| --output_image| Specify output image file name if image recorder is used
| | to avoid prompting for filename.
|_______________|
| --use_allspace| Use all space on the media.
|_______________|
| --relax_joliet| Relax Joliet file name length limitations.
|______________|
| --japanese
| CD Text is treated as Japanese CD Text (must include
| cd_text | --cd_text as well).
|_______________|
|–disable_eject| Do not eject the RW media after erasing it.
| after_erase |
|
______________|
| --force_eject | Force disc ejection after erasing the RW media.
| after_erase |
|
_____________|
| --system
| <text> is the “system identifier” of an ISO track.
| identifier |
| <text> |
|_______________|
| --volume_set | <text> is the “volume set” of an ISO track.
| <text> |
|_______________|
| --publisher | <text> is the “publisher” of an ISO track.
| <text> |
|______________|
| --data
| <text> is the “data preparer” of an ISO track.
|preparer <text>|
|_______________|
| --application | <text> is the “application” of an ISO track.
| <text> |
|_______________|
| --copyright | <text> is the “copyright” of an ISO track.
| <text> |
|_______________|
| --abstract | <text> is the “abstract” of an ISO track.
| <text> |
|_______________|
|–bibliographic| <text> is the “bibliographic” of an ISO track.
| <text> |
|_______________|
| --backup | Replace imported files only if newer are found.
|_______________|
| --booktype | The book type of a burned DVD will be set to
| dvdrom | DVD-ROM.
|
______________|
| --no_booktype | Do not change the book type of a DVD even if the default
| change | setting is to change the book type to DVD-ROM.
|
______________|
| --estimate_no | Do not include the file system overhead in calculation.
| fs_overhead |
|_______________|
| --estimate_no | Do not include data in calculation.
| data |
|_______________|
| --estimate_no | Do not calculate the exact size (quicker).
| exact_size |
|_______________|
| --cd_overburn | Specify CD overburn size in blocks.
| <size> |
|_______________|
| --dvd_overburn| Specify DVD overburn size in blocks.
| <size> |
|_______________|
| @param_file | param_file contains the command line arguments.
|_______________|


#4

Hi Guys,
I’m using Nero in a command line backup Batch util…
CD/DVD Writing works fine, but how can i force Nero to immediately write a cd, and give an error message if something goes wrong…

It’ll normally sit patiently and wait until you insert a cd before it starts writing…

End Users want to know if there was a problem with backups…

any ideas?

Cheers