# Windows – How to burn a cd (files not iso) from the command line in Windows 7

cd-burningscriptwindows 7

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.