Burn CDs From the Command Line

By | 2007-04-14

Need to make repeated copies of the same CD? Or do you want to burn a CD image from an .ISO file acquired via the Internet, perhaps of another operating system? If you don”t want to open up your CD burning application, you can burn CDs via DOS in Windows XP with the cdburn command.

To use the cdburn command, you”ll need to first download and install the Windows 2003 Resource Kit.

To burn a CD, just enter a command in the following format:

cdburn [DRIVE:] [IMAGE]

For example, the following command burns the 5-2-3-linux.iso ISO image on a CD-R placed in the e: drive:

c:\isos\cdburn e: 5-2-3-linux.iso

If you want to erase the current image on a CD-RW first, use the -erase modifier:

c:\isos\cdburn e: -erase 5-2-3-linux.iso

Or, don”t provide an image, and cdburn will just erase the contents of the CD-RW.

Other command line options you can place after the image name:

-sao

The cdburn command defaults to “track at once” mode. This option uses “session at once” mode.

-speed

Speed of burn, or max for maximum speed.

-imagehaspostgap

Use if your .ISO image already contains a 150 sector postgap.

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.