Jump to content

Command line, Start - Eject - Close query


Recommended Posts

Posted

Hi

 

With the command line options of IMG Burn - Start, Eject, Close do they only work on Write mode?

 

I'm trying the following

 

my $isoCmd = `"C:\\Windows\\CCM\\VAppLauncher.exe \/launch ImgBurn 2.5.7.0  \/MODE BUILD \/SRC "$location$listing" \/DEST "$location$test.iso" \/START \/LOG "$log" \/EJECT \/CLOSE`;

 

Also I get no log file.

 

my $log = "$location$test.log";

 

The IBB file is picked up and used but I have to click OK to start the ISO creation and once it has made the ISO I have to click OK to accept that it has made the ISO, is there any way for this to just happen without any user input at all?

 

Cheers

 

Posted

No, they work in all modes.

 

Once your applauncher thing has done its job, fire up task manager and have it display the command line column. Check to make sure ImgBurn.exe has been called with the correct set of parameters.

 

To my eyes, you don't have enough quotes in that string.

 

Read the readme.txt file. It tells you all of the command line parameters.

Posted

Did as you said, I get.

 

"C:\Program Files (x86)\ImgBurn\ImgBurn.exe" 2.5.7.0 /MODE BUILD /SRC "C:\Temp\Test.ibb" /DEST "C:\Temp\Test.iso" /LOG "C:\Temp\Test.log" /START /EJECT YES /CLOSE

 

I still have to click an OK button on a message box to start the build mode and the program does close but it doesn't eject the media, the Eject check box is greyed out on the ImgBurn window, I assume a limitation on the drive or perhaps an IT security policy ?

Posted

You aren't using an optical drive, that's why it won't eject anything.

Pulling in files from a disc in build mode doesn't count, it's only for a proper source / destination drive.

 

Obviously the 2.5.7.0 shouldn't be in there.

 

I did say the readme.txt covers the additional switches you'd need to bypass certain prompts. Off the top of my head, it's /noimagedetails or something.

×
×
  • Create New...

Important Information

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