DarkFalc Posted January 16, 2018 Posted January 16, 2018 (edited) Is there anyway to suppress errors? I am automating the building of an ISO, I finally got the CLI command as I wanted for imgburn.. but... I can't run the command in a batch script unattended because imgburn hangs as it throws an IO error on launch. I have full admin access on my machine, EXCEPT - domain policy has disabled write to optical disk or USB. This isn't should be an issue as I only want to make an ISO, but imgburn throws errors at start up. These errors can be clicked past, but there doesn't seem to be a way to make my script function without hanging. I have looked for error suppression, but haven't found anything (only warnings). IMGBURN.EXE /MODE BUILD /BUILDOUTPUTMODE IMAGEFILE /SRC "D:\Junk\toDelete" /ROOTFOLDER YES /PRESERVEFULLPATHNAMES NO /RECURSESUBDIRECTORIES YES /INCLUDEHIDDENFILES YES /INCLUDESYSTEMFILES YES /VOLUMELABEL TEST /FILESYSTEM "ISO9660 + UDF" /DEST "D:\Junk\test.iso" /START /CLOSE /NOIMAGEDETAILS Is basically the command I am trying to execute in my batch script (names/paths changed), but it results in this (image attached). Is there a way to do this? Windows 10 Pro x64 ImgBurn 2.5.8.0 Edited January 30, 2018 by DarkFalc
LIGHTNING UK! Posted January 16, 2018 Posted January 16, 2018 What if you change the i/o interface to one that doesn't exist on your machine? That might allow it to get past that point silently.
DarkFalc Posted January 16, 2018 Author Posted January 16, 2018 (edited) Thanks for the suggestion, genius. At first it looked like it almost was going to work but not quite. The errors were now in the log window rather than blocking error dialogue boxes.. but the build button was greyed out so I couldn't even build the ISO. But after changing to another I/O mode and also disabling all the read error options I could find.. it works! Legendary hacking powers admin (bows). Edit 0: I can't see how to mark or edit my original posts title to SOLVED, so I shall leave that to you LUK! Edit 1: Never mind I figured it out - you have to edit, then select "Use Full Editor" Edited January 30, 2018 by DarkFalc
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now