RockE Posted February 23, 2015 Posted February 23, 2015 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
LIGHTNING UK! Posted February 23, 2015 Posted February 23, 2015 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.
RockE Posted February 24, 2015 Author Posted February 24, 2015 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 ?
LIGHTNING UK! Posted February 24, 2015 Posted February 24, 2015 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.
Recommended Posts