Burning a file to DVD+RW with NEROCMD.EXE

Hello CD Freaks,

I am trying to make a BAT file that will backup a network folder and then burn it to a DVD+RW(Format the DVD first). I made the same batch file for CDRW and it works fine but when trying to modify the batch for DVD i get user abort error.

Here is a Sniplet of my batch file.
xcopy /c /e /z /y /h /r p:\CBA2000 d:\BACKUP\MONTHLY\CBA2000\

xcopy /c /e /z /y /h /r s:\ d:\BACKUP\MONTHLY\share\

“c:\program files\winrar\rar.exe” a -sfx -m5 -df -sfx d:\backup\MonthlyBackup d:\BACKUP\MONTHLY

“c:\Program Files\Ahead\Nero\NeroCmd.exe” --dvd --media_type media_dvd_p_rw --erase --entire --drivename e

“c:\Program Files\Ahead\Nero\NeroCmd.exe” --write --real --dvd --drivename e --iso monthly_backup “d:\BACKUP\MonthlyBackup.exe” --media_type media_dvd_p_rw

Is there a better way to do this?