Documentation
Introduction

The CMDBurn Utility is a simple and intuitive application designed to burn individual files or entire directories to a variety of different CD and DVD writeable media.

The real facility of CommandBurner is the ability to use it from the command line, or through any method that can pass commands to the command line, for example a batch file. Here are the instructions for using the command line interface of CommandBurner.

 

The Command!

cmdburn [command] <options>
Where command is one of: burn, eject, load, erase or fullerase
and <options> is one or more of: /f [filepath], /l [label], /erase, /eject or /fullerase where:

  • /f [filepath] is the name of the file you wish to burn
  • /l [label] is the new label for the CD / DVD
  • /erase if you want to erase before burn
  • /eject if you want to eject after burn
  • /fullerase if you want to perform a full erase before burn (warning: this could take a long time depending on the size of the disk)
  • /noexit if you want to return to interactive mode when the batch process is completed
  • /hide if you want hide the user interface during operation
  • /? if you want to see this usage information

 

Command line examples
>cmdburn burn /f c:\potato\tomato.doc

This will burn the file c:\potato\tomato.doc to cd.

>cmdburn burn /f c:\potato\tomato.doc /l BCKUP /eject

This will burn the file c:\potato\tomato.doc to cd, label the CD "BCKUP" and eject the CD when burning has finished.

>cmdburn burn /d c:\backup /l BCK_CD /eject

This will burn the contents of C:\backup to a CD, label the CD as "BCK_CD" and will eject the disc when finished.

>cmdburn burn /d c:\backup /l CmdBn /erase /eject

This will first erase the CD, then burn the contents of C:\backup, label the CD as "CmdBn" and will eject the disc when finished.

Rules for command/option interaction

The command burn:

  • unless followed by the /f [filename] or /d [directory] option, will open the CommandBurner interface and then give an error popup saying either " The file to burn does not exist", or "The directory to burn does not exist".
    No option other than /hide will have any effect. If followed by /hide, the CommandBurner interface will not be opened but the error popup will still show.
  • if followed by /f [directory (or non existent file name)], will behave as if the /f option is absent (see above).
  • if followed by /d [filename (or non existent directory name)], will behave as if the /d option is absent (see above).
  • if followed by multiple /d [directory] and/or /f [filename] options, will behave as if only the last of these is present.

Options:

  • /d, /l and /f will always update the relevant fields in the interface when used with a command. However, as these fields are reset every time cmdburn is called, this may only be relevant as long as the interface remains open.
  • /d, /l and /f will have no other effect unless used in conjunction with the burn command.
  • /? will nullify any command that is included in the same call and only the /? will take effect. Options other than /d, /l and /f will have no effect.
  • /hide will always prevent the interface from showing unless option /? is also present.
  • /noexit will always prevent the interface from closing unless /hide prevents the interface from showing.
  • apart from the above, no option will have any effect when used in conjunction with either the eject or load commands.
  • /erase will have no effect if /fullerase is included in the same call.
  • /erase and /fullerase will only have an effect when used in conjunction with the burn command and will take effect before the burn.
  • /eject will only have an effect when used in conjunction with the burn command and will take effect after the burn.
  • /erase, /fullerase and /eject will have no effect when used in conjuction with the erase, fullerase, eject or load commands.


Easy Windows 2003 Backup
Only 7 minutes to setup.
Affordable for Windows 2003
Server. Trial now.

www.backupassist.com