Skip navigation

JSI Tip 6597. Freeware CreateCD operates on files and folders from the command-line.

http://isorecorder.alexfeinman.com/CreateCD.htm contains:

CreateCD - Windows XP and Windows 2003 CD Recording utility
03/29/2003
Alex Feinman

1. Description

CreateCD utility is designed as a command-line-based alternative to the GUI-based CD-Recording process in Windows XP and Windows 2003. It has several benefits:

  1. Allows for unattended operations from batch files. A non-zero exit code is returned on failure
  2. Supports erasing CD before recording
  3. When possible, does not create an intermediate copy of the files and directories being recorded 
  4. Supports creating bootable CDs. Currently boot image must be an image of a bootable 1.44MB floppy. The companion utility fdread.exe is used to create an image file of an existing floppy.

CreateCD utility uses the same APIs and interfaces as Windows XP Shell CD Recorder.

2. Usage

The following is a command line format for CreateCD utility:

CreateCD \[options\] <FILESPEC>\[<FILESPEC>\]...

options - one or more of the following:

  • -e\[rase\] - Erase disk before writing
  • -f\[ullerase\] - Erase disk and quit. This is 'full" erase that takes quite some time
  • -nologo - Do not display logo string
  • -r\[ecorder\]:<LETTER> - Use recorder <LETTER>
  • -s\[peed\]:<NUMBER> - Use recording speed <NUMBER>
  • -v\[erbose\] - Produce more output
  • -info - Print recorder/disk information and exit
  • -eject - Eject disk after writing
  • -l\[abel\]:<VOLUME label> - Set volume label. Default is today's date
  • -i\[mage\]:<FILESPEC> - Make disk bootable using image <FILESPEC>. <FILESPEC>should be an image of a bootable floppy

Example: CreateCD -r:e -i:bootflpW98.img C:\Data\*.*

Use CD-Burner E:, make CD bootable using a file bootflpW98.img as an image. Record all files in C:\Data directory

  1. -e\[rase\] Erases disk using "quick" erase. This is what Windows GUI does. It leaves some data on the disk. The technical details are following: The quick option erases only the PMA, first session TOC, and the pre-gap of the first track. This erases a disc quickly (between 1 and 2 minutes depending on recorder speed), but the program area will still contain user data. A full erase, on the other hand, erases the entire disc.
  2. -f\[ullerase\] Erase entire disc. Takes quite some time. Depending on recorder model it can be from 10 - 15 min up to an hour. The full erase is effectively a full disc burn with 0 data at a highest speed, so the worst case scenario is 74 min for standard disc at 1X speed
  3. -nologo Do not display logo string. Useful for batch recording
  4. -r\[ecorder\]:<LETTER> Use recorder <LETTER>. If not specified, the first available recorder is used - typically it is the same one as used by Windows
  5. -s\[peed\]:<NUMBER> Use recording speed <NUMBER>. If not specified, the fastest speed that media supports is used
  6. -v\[erbose\] Produce more output. Prints progress messages and percentage done - not good for batch files
  7. -info Print recorder/disk information and exit. Prints recorder model, media type, amount of space available. This option should not be combined with others. The rest of options will be ignored
  8. -eject Eject disk after writing. Default is do not eject
  9. -l\[abel\]:<VOLUME label> Set volume label. Default is today's date - Mar 29 2003
  10. -i\[mage\]:<FILESPEC> Make disk bootable using image <FILESPEC>. <FILESPEC>should be an image of a bootable floppy. In order to prepare an image use a companion utility fdread.exe. Create a bootable floppy as usual. If an image is of W98 EBD, it'll contain all CD-ROM drivers. For now only 1.44MB images are supported

3. Download

CreateCD utility can be downloaded here. It is provided in ZIP format (not self-extracting). Unpack zip file into a directory and run utility from command line 

The utility is free. If you really like it, I accept small PayPal donations.

If you decide to contribute, please, make it at least $5 (PayPal charges me for it). Contribiutons over $1000 are not accepted. Anything over $10,000 is reported straight to IRS (just kidding).

4. License

This utility is free for non-commercial (personal) use. Other types of use should be discussed with the author (a very reasonable person) - see the contact information section. Author shall not be liable for any damage resulting from the use of this utility. All rights are reserved. 4. Contact information Problems should be reported to [email protected] To discuss licensing issues please e-mail to Alex Feinman



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish