Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have used robocopy and a script to copy files from various resources. I now want to have my script automatically burn the files I copied to a cd. I'm looking for a command. I have tried xcopy but I keep getting an invalid drive error when trying to copy to the cd burner drive. I'm thinking I should be able to do this with a command or two, instead of having the script open up windows explorer, change to the folder, etc.

share|improve this question

migrated from Apr 18 '13 at 17:27

This question came from our site for professional and enthusiast programmers.

Well, the Windows 2003 Resource Kit had two CLI programs to burn ISO images. I once saw a program using these in order to burn a folder, but afaik it did not work with files.

A good program designed for burning via command line is CreateCD.

This should do the trick, and probably is easier than getting cdrdao or cdrtools to work. Although they also have a good reputation ;-).

Additionally, popular burning freeware like CDBurnerXP, ImgBurn support burning from a command line.

I also use ImgBurn.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .