Jump to content

Erase An Image From CLI after all burners had finished.


mariano

Recommended Posts

Hello I have to say that this software rocks. Firstly I could created a batch file that build isos and deletes the source really easy, the recording queue is one of the smartest ideas but... now im trying to join everything and making a batch file to read just one recorder in order to build an iso, then to call another bat where it calls 2 or 3 instances of imgburn to write that iso simultaneously. My problem is... if I put the /deleteimage yes command, and i for example forgot to put media in one of the recordes it erase it, but the most important thing for me is... if I put that command in every instance opened... im going to get the "This file is used by another process or program, we cannot delete it" and needs me to click it in order to close the program.

 

Is there a way to stop that message from appearing? Or there is some other way to delete de source image after all the burning process had been completed? Because I want to do something like....

 

Read A Disc with Drive 0 to HDD - then open Drive 1 Drive 2 to burn that image from HDD - once completed delete image in HDD.

 

Here are the commands I Use:

 

START /W "c:\program files (x86)\imgburn\imgburn.exe" /MODE READ /SRC 2:1:0 /DEST "L:\MARIANO01.ISO" /START /WAITFORMEDIA /EJECT /CLOSE

START "" "c:\program files (x86)\imgburn\imgburn.exe" /MODE WRITE /SRC "L:\MARIANO01.ISO" /DEST 5:0:0 /START /WAITFORMEDIA /VERIFY NO /SPEED 6x /EJECT /DELETEIMAGE YES /CLOSESUCCESS

START "" "c:\program files (x86)\imgburn\imgburn.exe" /MODE WRITE /SRC "L:\MARIANO01.ISO" /DEST 4:0:0 /START /WAITFORMEDIA /VERIFY NO /SPEED 6x /EJECT /DELETEIMAGE YES /CLOSESUCCESS

 

I just want the delete image yes process as a separate task of the burning process so if all the burning has been done... then erase Mariano01.iso

 

Thanks.

 

Mariano.

Link to comment
Share on other sites

I don't know of any way to do it, sorry. (without me coding something specific to your problem)

 

What you really need is a program that can spawn a program X times using a given CLI line and then only return control once they've ALL completed.

 

Then you'd just issue the delete within the batch itself and not in ImgBurn.

Link to comment
Share on other sites

Thanks for your response, but I solve it just adding an erase.bat that it is executed after imgburn closes because of the successful burn. I just figure out that you can use only two drives simultaneously per Hard disk, so you can burn 4 copies if you have 2 mirrored images to 2 sata drives. The only way to do multiple copies is making a bat using imgburn and nero altogether.

 

Thanks.

 

Mariano.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.