Using NeroCmd to burn DVD+RW

I am at my wits end. How do I burn a DVD+RW utilizing NeroCmd.exe? Here is what I am trying to use:


@ECHO OFF
SET DRIVE="H"

"I:\Program Files\ahead
ero\NeroCmd.exe" --dvd --erase --media_type media_dvd_p_rw --drivename %DRIVE%

"I:\Program Files\ahead
ero\NeroCmd.exe" --write --dvd --recursive --drivename %DRIVE% --dvd_high_compatibility --underrun_prot --verify --real --media_type media_dvd_p_rw --iso "OMNI Backup 1" "D:\My Documents\My Webs" "D:\My Documents\My Taxes"

The first like yields the following error:

No CD was inserted!

No CD was inserted!

The second yields:

Last detected media: unknown
Request media: unkown

Can anyone please show me how to correctly burn a DVD+RW utilizing NeroCmd?

Try using USE_ALL_SPACES ON THE SECOND AND USE SOME VIRTUAL MULTISESSION PROPERTY ALSO