Burn CDs From the Command Line

Posted On 2007-04-14 by FortyPoundHead
Tags: Tip Windows XP
Views: 1716

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:


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


Speed of burn, or max for maximum speed.


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

About the Author

has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links