You are on page 1of 7

|==================================| | Program Name: | ImgBurn | |==================================| | Author: | LIGHTNING UK!

| |==================================| Supported Command Line Switches: (You can get a basic version of this list via 'ImgBurn.exe /?') /MODE <PICKER | READ | BUILD | WRITE | VERIFY | DISCOVERY> Used to tell the program which 'Mode' to open up in. /BUILDINPUTMODE <STANDARD | ADVANCED> Used to tell the program which 'Build Input Mode' to open up in. Only applies to BUILD mode. /BUILDOUTPUTMODE <DEVICE | IMAGEFILE> Used to tell the program which 'Build Output Mode' to open up in. Only applies to BUILD mode. /SRC <Drive Letter | SCSI Address> | "<Folder Name>\" | "<File Name>" | ALLSECTO RS | <Custom Number Of Sectors> Used to select the source drive or filename. Drive Letter or SCSI Address applies to READ and VERIFY modes. Folder Name applies to BUILD mode. File Name applies to BUILD and WRITE modes. ALLSECTORS applies to DISCOVERY mode. Custom Number Of Sectors applies to DISCOVERY mode. Examples: /SRC J: /SRC 1:0:0 /SRC "C:\DVD_FILES\VIDEO_TS\" /SRC "C:\DVDIMAGE.ISO" /SRC "C:\BackupProject.IBB" /SRC ALLSECTORS /SRC 2295000 In BUILD mode, you can specify an '.IBB' file as the source. This is an 'ImgBurn Backup Project' file and is a simple text file conta ining the names of folders / files to add to the image, along with the various c onfiguration options. The simplest way to find the correct syntax for an '.IBB' file is to hav e ImgBurn create one via the 'Save Project...' option in the 'File' menu, and th en look at it in notepad. In BUILD mode, you can specify multiple folders / files directly if you put a pipe character ('|') between them. Example: /SRC "C:\Folder1\|C:\Folder2\|C:\Document1.txt|C:\Document2.txt " /SRCLIST "<File Name>" Used to specify a text file that represents a basic list of folders / fi les to be added to the 'Source' box. Only applies to BUILD mode. Example: /SRCLIST "C:\BackupList.txt" /DEST <Drive Letter | SCSI Address> | "<File Name>" Used to select the filename or drive. Drive Letter or SCSI Address applies to BUILD, WRITE and DISCOVERY modes .

File Name applies to READ, BUILD and VERIFY modes ('DEST' actually means 'Compare' here for VERIFY mode). Examples: /DEST J: /DEST 1:0:0 /DEST "C:\DVDIMAGE.ISO" When in READ mode, you can use '[DISC_LABEL]' | '[DATETIME]' | '[DATE]' | '[TIME]' (without quotes) anywhere in the file name specified with this switch , and the program will replace it with the appropriate value. When in BUILD mode, you can use '[DATETIME]' | '[DATE]' | '[TIME]' (with out quotes) anywhere in the file name specified with this switch, and the progra m will replace it with the appropriate value. Examples: /DEST "C:\DVDIMAGES\[DISC_LABEL].ISO" /DEST "C:\DVDIMAGES\DailyBackup_[DATETIME].ISO" /FILESYSTEM "<File System>" Used to change the value of the 'File System' drop down list. Only applies to BUILD mode. The parameter must match the value within the drop down list exactly. Examples: /FILESYSTEM "ISO9660" /FILESYSTEM "ISO9660 + Joliet" /FILESYSTEM "ISO9660 + UDF" /UDFREVISION "<UDF Revision>" Used to change the value of the 'UDF Revision' drop down list. Only applies to BUILD mode. The parameter must match the value within the drop down list exactly. Examples: /UDFREVISION "1.02" /UDFREVISION "2.50" /VOLUMELABEL "<Volume Label>" Used to set the value of the volume label fields. Only applies to BUILD mode. Length limits are automatically applied. i.e. 32 chars for ISO9660, 16 f or Joliet, 126 for UDF. To specify different volume labels for each file system, the following s witches are also available: /VOLUMELABEL_ISO9660 "<Volume Label>" /VOLUMELABEL_JOLIET "<Volume Label>" /VOLUMELABEL_UDF "<Volume Label>" These will override what's been set (if anything) by the '/VOLUMELABEL' switch. /SPEED <Write Speed> Used to change the value of the 'Write Speed' drop down list. The parameter must match the value within the drop down list exactly. Examples: /SPEED MAX /SPEED 1x /SPEED 2.4x (or 2,4x depending on regional settings) /COPIES <Number Of Copies> Used to change the value of the 'Copies' drop down list. The parameter must match the value within the drop down list exactly. Only applies to WRITE mode. Example: /COPIES 2 /LAYERBREAK <LBA>

Used to tell the program where to put the layerbreak. Only applies to WRITE and DISCOVERY modes and only when burning DVD+R DL discs. Example: /LAYERBREAK 2000000 /ERASE Used to automatically erase / format / overwrite media. /OVERWRITE <YES | NO> Used to force the program to either overwrite all existing files, or nev er overwrite them. /TESTMODE <YES | NO> Used to make the program simulate the burn - whereby no data is actually written to the disc. Basically, it just checks (or unchecks!) the 'Test Mode' box for you! /VERIFY <YES | NO> Used to make the program verify a disc is readable after it has been bur nt. Basically, it just checks (or unchecks!) the 'Verify after write' box fo r you! /DELETEIMAGE <YES | NO> Used to make the program delete the image after it has been burnt. Basically, it just checks (or unchecks!) the 'Delete Image When Done' bo x for you! /DELETESOURCE <YES | NO> Used to make the program delete the source files after they've been burn t. Only applies to BUILD mode. *** USE WITH CAUTION *** /EJECT <YES | NO> Used to make the program eject the disc after it has been burnt. Basically, it just checks (or unchecks!) the 'Eject Tray When Done' box for you! /START Used to start the burn process automatically when the program has finish ed initialising. Basically, it just presses the 'Build' / 'Write' / 'Verify' button for y ou! /CLOSE Used to close the program when the burn process has finished. Basically, it just presses the 'Close' button for you! /CLOSEINFO Used to close the program when the text file specified by '/INFO' has be en created. Basically, it just presses the 'Close' button for you! /CLOSESUCCESS Used to close the program when the burn process has finished AND was suc cessful. Basically, it just presses the 'Close' button for you! /SHUTDOWN Used to shutdown the computer when the program has finished burning.

Basically, it just checks the 'Shutdown computer when done' box for you! /WAITFORMEDIA Used in combination with /START and /CLOSE to wait until the program is 'Ready' to burn before trying to start. Normally, if the program isn't 'Ready', the /CLOSE switch causes the pro gram to close without having done anything. /IGNORELOCKVOLUME Used to make the program ignore any 'Access is denied' errors it might r un into when it tries to lock the drive for exclusive access, meaning the burn c an continue without user intervention. This is mainly for 3rd party applications that are unable to release any 'handles' that they might have open to the drive - thus preventing ImgBurn from obtaining the lock. /NOIMAGEDETAILS Used to stop the program from displaying details about the image. Only applies to BUILD mode. /ROOTFOLDER <YES | NO> Used to automate the 'Root Folder' prompt you get when only adding a sin gle folder to the source list. Only applies to BUILD mode. /BDMVFOLDERS <YES | NO> Used to override the 'Create BDMV Folders' option in the settings. Only applies to BUILD mode. /CERTIFICATEFOLDER <YES | NO> Used to automate the 'Certificate Folder' prompt you get when a 'CERTIFI CATE' folder is present at the same directory level as the BDAV/BDMV folder but hasn't been included. It will also override the 'Create CERTIFICATE Folder' option in the sett ings. Only applies to BUILD mode. /PRESERVEFULLPATHNAMES <YES | NO> Basically, it just checks (or unchecks!) the 'Preserve Full Pathnames' b ox for you! Only applies to BUILD mode. /RECURSESUBDIRECTORIES <YES | NO> Basically, it just checks (or unchecks!) the 'Recurse Subdirectories' bo x for you! Only applies to BUILD mode. /INCLUDEHIDDENFILES <YES | NO> Basically, it just checks (or unchecks!) the 'Include Hidden Files' box for you! Only applies to BUILD mode. /INCLUDESYSTEMFILES <YES | NO> Basically, it just checks (or unchecks!) the 'Include System Files' box for you! Only applies to BUILD mode. /INCLUDEARCHIVEFILESONLY <YES | NO> Basically, it just checks (or unchecks!) the 'Include Archive Files Only ' box for you!

Only applies to BUILD mode. /CLEARARCHIVEATTRIBUTE <YES | NO> Basically, it just checks (or unchecks!) the 'Clear Archive Attribute' b ox for you! Only applies to BUILD mode. /FILESYSTEMONLY Used to make the program create an image with nothing but the file syste m in it - i.e. no actual file data (or anything that would normally come after t he file data). The image will be useless for anything except looking at the file system layout, you have been warned! Only applies to BUILD mode. *** USE WITH CAUTION *** /OPTIMISEDUPLICATEFILES Used to make the program detect duplicate files within your compilation and only store the data for those files once - thus saving disc space. Only applies to BUILD mode. /BOOTEMUTYPE <0 | 1 | 2 | 3 | 4> Basically, it just modifies the 'Emulation Type' field on the 'Advanced' -> 'Bootable Disc' tab for you! Only applies to BUILD mode. 0 = None (Custom) 1 = Floppy Disk (1.20 MB) 2 = Floppy Disk (1.44 MB) 3 = Floppy Disk (2.88 MB) 4 = Hard Disk Example: /BOOTEMUTYPE 0 /BOOTIMAGE "<File Name>" Basically, it just modifies the 'Boot Image' field on the 'Advanced' -> 'Bootable Disc' tab for you! Only applies when the '/BOOTEMUTYPE' switch is also specified. Only applies to BUILD mode. Example: /BOOTIMAGE "C:\BootImage.ima" /BOOTDEVELOPERID "<Developer ID>" Basically, it just modifies the 'Developer ID' field on the 'Advanced' > 'Bootable Disc' tab for you! Only applies when the '/BOOTEMUTYPE' switch is also specified. Only applies to BUILD mode. Example: /BOOTDEVELOPERID "LIGHTNING UK!" /BOOTLOADSEGMENT <Load Segment> Basically, it just modifies the 'Load Segment' field on the 'Advanced' > 'Bootable Disc' tab for you! Only applies when the '/BOOTEMUTYPE' switch is also specified. Only applies to BUILD mode. "Load Segment" should be specified as 4 digit/character hexadecimal valu e. Example: /BOOTLOADSEGMENT 07C0 /BOOTSECTORSTOLOAD <Sectors To Load> Basically, it just modifies the 'Sectors To Load' field on the 'Advanced ' -> 'Bootable Disc' tab for you! Only applies when the '/BOOTEMUTYPE' switch is also specified. Only applies to BUILD mode. Example: /BOOTSECTORSTOLOAD 4

/BOOTPATCHBOOTINFOTABLE Basically, it just checks the 'Patch Boot Information Table' box on the 'Advanced' -> 'Bootable Disc' tab for you! Only applies when the '/BOOTEMUTYPE' switch is also specified. Only applies to BUILD mode. /IBG "<File Name>" Used to make the program write the graph data to a file of the specified name after burning (or verifying if it's enabled). /LOG "<File Name>" Used to make the program write the log to a file of the specified name w hen closing down. You can use '[DATETIME]' | '[DATE]' | '[TIME]' (without quotes) anywhere in the file name specified with this switch, and the program will replace it wi th the appropriate value. Example: /LOG "C:\ImgBurn Logs\DailyBackup_[DATETIME].log" /LOGAPPEND When used in combination with '/LOG "<File Name>"', it will make the pro gram try and append to the file rather than overwrite it. /LOGHEADER When used in combination with '/LOG "<File Name>"', it will make the pro gram add a header to the log showing the program version, date and time. It is recommended that this switch be used when creating a new log file that you will later append to via use of the '/LOGAPPEND' switch. The same header is automatically added when using the '/LOGAPPEND' switc h so this switch need not be specified. /NOSAVELOG Used to tell the program not to save the log when it's closed. /INFO "<File Name>" Used to make the program write the contents of the drive/media informati on window (on the right side of the main window) to a file of the specified name after full initialising the media. /PORTABLE Used to make the program skip the sections where it would normally write file association / autoplay / shell extension data to the registry. When used in combination with '/SETTINGS "<File Name>"', you can make it so ImgBurn doesn't make any changes to the PC it's being run on. This is useful if you're running it from a USB pen etc. /LANGID <Language Identifier> Used to tell the program which language to start up in. Values can be in decimal or hexadecimal formats. The appropriate '*.lng' file must exist in the 'Languages' folder. Example: /LANGID 0x0809 /LANGID 2057 Both of the above will cause the program to start with the GUI interface in the 'English (United Kingdom)' language. /SETTINGS "<File Name>" Used to override loading the settings from the registry, and instead loa d from / save to the specified file. If the file does not exist, default settings will be used and the progra m will attempt to save to the specified file when it's closed.

Even if this switch is not specified, the program will attempt to load f rom 'ImgBurn.ini' in the application exe's directory BEFORE it loads from the re gistry. /NOSAVESETTINGS Used to tell the program not to save ANY settings when it's closed. =============================================================================== ErrorLevel / Exit / Return values: 0 1 2 3 4 5 = = = = = = No error detected. Read/Write/Build/Verify/Discovery couldn't start - drive not ready etc. Read/Write/Build/Discovery failed. Verify failed. Read/Write/Build/Discovery aborted. Verify aborted.

=============================================================================== THE END

You might also like