Burning CDs from Command Prompt

Hi, i’m looking for a free tool to burn CDs from Command promt in Windows NT.

Nero (API) is not free.

cdrtools appear to only burn ISOs (is this right? or i just couldn’t figure out how to burn directories?)

CommandBurner looks good, but requires installation. I’ll use it, if nothing else come up.

So, are there any other tools for burning CDs from command promt in WinNT?

Also, are there free tools to create ISO images from command promt? I know there’s cdimage.exe from M$, but its say its for internal use only (I need this not for personal use).

tia!

Do you just ned to start the burning from the comand prompt, or does it also have to run without showing a window?

ImgBurn will let you burn an image or files/folders and you can specify what you want to burn with arguments to the program. It will show a window while burning, however.

CreateCD can burn from the command line. I haven’t tried it myself.

Welcome to CDFreaks! :slight_smile:

thanks, DrageMester!

CreateCD is only for win2K2 and XP. does ImgBurn works from command promt? thnx

From the ImgBurn Readme file:

Supported Command Line Switches:

(You can get a basic version of this list via 'ImgBurn.exe /?')

/MODE <ISOREAD | ISOBUILD | ISOWRITE | ISOVERIFY | DISCOVERY>
	Used to tell the program which 'Mode' to open up in.

/BUILDMODE <DEVICE | IMAGEFILE>
	Used to tell the program which 'Build Mode' to open up in.
	Only applies to ISOBUILD mode.

/SRC <Drive Letter | SCSI Address> | "<Folder Name>\" | "<File Name>"
	Used to select the source drive or filename.
	Drive Letter or SCSI Address applies to ISOREAD and ISOVERIFY modes.
	Folder Name applies to ISOBUILD mode.
        File Name applies to ISOBUILD, ISOWRITE and DISCOVERY modes.
	Examples: /SRC J:
		  /SRC 1:0:0
		  /SRC "C:\DVD_FILES\VIDEO_TS\"
		  /SRC "C:\DVDIMAGE.ISO"
		  /SRC "C:\BackupProject.IBB"

	In ISOBUILD mode, you can specify an '.IBB' file as the source.
	This is an 'ImgBurn Backup Project' file and is a simple text file containing the names of folders / files to add to the image, along with the various configuration options.
	The simplest way to find the correct syntax for an '.IBB' file is to have ImgBurn create one via the 'Save Project...' option in the 'File' menu, and then look at it in notepad.

/DEST <Drive Letter | SCSI Address> | "<File Name>" 
	Used to select the filename or drive.
	Drive Letter or SCSI Address applies to ISOWRITE and DISCOVERY modes.
	File Name applies to ISOREAD, ISOBUILD and ISOVERIFY modes ('DEST' actually means 'Compare' here for ISOVERIFY mode).
	Examples: /DEST J:
		  /DEST 1:0:0
		  /DEST "C:\DVDIMAGE.ISO"

	When in ISOREAD mode, you can use '[DISC_LABEL]' (without quotes) anywhere in the file name specified with this switch, and the program will replace it with the source disc's volume label.
	Example: /DEST "C:\DVDIMAGES\[DISC_LABEL].ISO"

/FILESYSTEM "<File System>"
	Used to change the value of the 'File System' drop down list.
	Only applies to ISOBUILD mode.
	The parameter must match the value within the drop down list exactly.
	Examples: /FILESYSTEM "ISO9660"
		  /FILESYSTEM "ISO9660 + Joliet"
		  /FILESYSTEM "ISO9660 + UDF"

/VOLUMELABEL "<Volume Label>"
	Used to set the value of the volume label fields.
	Only applies to ISOBUILD mode.
	Length limits are automatically applied. i.e. 32 chars for ISO9660, 16 for Joliet, 126 for UDF.

	To specify different volume labels for each file system, the following switches are also available:

	/VOLUMELABEL_ISO9660 "<Volume Label>"
	/VOLUMELABEL_JOLIET "<Volume Label>"
	/VOLUMELABEL_UDF "<Volume Label>"

	These will override what's been set (if anything) by the '/VOLUMELABEL' switch.

/SPEED <Write Speed>
	Used to change the value of the 'Write Speed' drop down list.
	The parameter must match the value within the drop down list exactly.
	Examples: /SPEED MAX
		  /SPEED 1x
		  /SPEED 2.4x (or 2,4x depending on regional settings)

/COPIES <Number Of Copies>
	Used to change the value of the 'Copies' drop down list.
	The parameter must match the value within the drop down list exactly.
	Only applies to ISOWRITE mode.
	Example: /COPIES 2

/LAYERBREAK <LBA>
	Used to tell the program where to put the layerbreak.
	Only applies ISOWRITE and DISCOVERY modes and only when burning DVD+R DL discs.
        Example: /LAYERBREAK 2000000

/ERASE
	Used to automatically erase / format / overwrite media.

/OVERWRITE <YES | NO>
	Used to force the program to either overwrite all existing files, or never overwrite them.

/TESTMODE <YES | NO>
	Used to make the program simulate the burn - whereby no data is actually written to the disc.
	Basically, it just checks (or unchecks!) the 'Test Mode' box for you!

/VERIFY <YES | NO>
	Used to make the program verify a disc is readable after it has been burnt.
	Basically, it just checks (or unchecks!) the 'Verify after write' box for you!

/DELETEIMAGE <YES | NO>
	Used to make the program delete the image after it has been burnt.
	Basically, it just checks (or unchecks!) the 'Delete Image When Done' box for you!

/EJECT <YES | NO>
	Used to make the program eject the disc after it has been burnt.
	Basically, it just checks (or unchecks!) the 'Eject Tray When Done' box for you!

/START
	Used to start the burn process automatically when the program has finished initialising.
	Basically, it just presses the 'Build' / 'Write' / 'Verify' button for you!

/CLOSE
	Used to close the program when the burn process has finished.
	Basically, it just presses the 'Close' button for you!

/CLOSEINFO
	Used to close the program when the text file specified by '/INFO' has been created.
	Basically, it just presses the 'Close' button for you!

/CLOSESUCCESS
	Used to close the program when the burn process has finished AND was successful.
	Basically, it just presses the 'Close' button for you!

/SHUTDOWN
	Used to shutdown the computer when the program has finished burning.
	Basically, it just checks the 'Shutdown computer when done' box for you!

/WAITFORMEDIA
	Used in combination with /START and /CLOSE to wait until the program is 'Ready' to burn before trying to start.
	Normally, if the program isn't 'Ready', the /CLOSE switch causes the program to close without having done anything.

/NOIMAGEDETAILS
	Used to stop the program from displaying details about the image.
	Only applies to ISOBUILD mode.

/ROOTFOLDER <YES | NO>
	Used to automate the 'Root Folder' prompt you get when only adding a single folder to the source list.
	Only applies to ISOBUILD mode.

/PRESERVEFULLPATHNAMES <YES | NO>
	Basically, it just checks (or unchecks!) the 'Preserve Full Pathnames' box for you!
	Only applies to ISOBUILD mode.

/RECURSESUBDIRECTORIES <YES | NO>
	Basically, it just checks (or unchecks!) the 'Recurse Subdirectories' box for you!
	Only applies to ISOBUILD mode.

/INCLUDEHIDDENFILES <YES | NO>
	Basically, it just checks (or unchecks!) the 'Include Hidden Files' box for you!
	Only applies to ISOBUILD mode.

/INCLUDESYSTEMFILES <YES | NO>
	Basically, it just checks (or unchecks!) the 'Include System Files' box for you!
	Only applies to ISOBUILD mode.

/INCLUDEARCHIVEFILESONLY <YES | NO>
	Basically, it just checks (or unchecks!) the 'Include Archive Files Only' box for you!
	Only applies to ISOBUILD mode.

/CLEARARCHIVEATTRIBUTE <YES | NO>
	Basically, it just checks (or unchecks!) the 'Clear Archive Attribute' box for you!
	Only applies to ISOBUILD mode.

/IBG "<File Name>"
	Used to make the program write the graph data to a file of the specified name after burning (or verifying if it's enabled).

/LOG "<File Name>"
	Used to make the program write the log to a file of the specified name when closing down.

/INFO "<File Name>"
	Used to make the program write the contents of the drive/media information window (on the right side of the main window) to a file of the specified name after full initialising the media.

/SETTINGS "<File Name>"
	Used to override loading the settings from the registry, and instead load from / save to the specified file.
	If the file does not exist, default settings will be used and the program will attempt to save to the specified file when it's closed.

	Even if this switch is not specified, the program will attempt to load from 'ImgBurn.ini' in the application exe's directory BEFORE it loads from the registry.

/NOSAVESETTINGS
	Used to tell the program not to save ANY settings when it's closed.

wow, looks like this one does everything :slight_smile:
thanks again! im surprised they don’t even have licesing info on the website. i guess i’m just gonna download and see whats inside…

ImgBurn is completely free if that’s what you’re wondering.

how free is free - is the question for using it as part of commercial product, and there’re no info what so ever about terms of use. but it didn’t work under WinNT 4 SP6 so it doesn’t matter.

We needed to replace Nero, version 5 of which doesn’t support new drives we use and they don’t have anything new that runs on NT, we spoke to them. Doesn’t have to be free, but it need to work with what we have and needs to have clear licensing terms.

Works for me on NT4 SP6 - I make a point of testing it (well, checking it loads anyway!) on eveything from Windows 95 -> Vista and NT4 -> Server 2008.

That said, you can’t use it with a commercial product so it doesn’t really matter anyway.

Oops! My mistake. :o

we’re not considering it, be seriously, there’s nothing on your website, or in included readme about terms of use. do I just not see it? just curiuos… you spend time and efforts making it, if you feel you don’t want it used in commerial products, you should probably state it somewhere :slight_smile:

About running it on WinNT… i tried it without installing ASPI layer, i guess thats why. again, 'cause couldn’t find any requirements on your site or in readme, other then “supports all the Windows OS’s - Windows 95, 98, Me, NT, 2000, XP, 2003 and Vista”. only links on the bottom of the download page to various ASPI layer downloads hint to its necessity.

just obervations :wink:

There’s something about this in the About window: THIS SOFTWARE MAY ONLY BE LICENSED FREE OF CHARGE


yeah, ok. but first one has to search all over the website for this info, then download in hopes of finding it in the download, and then install it - just to find out he can’t use it :slight_smile: it’s not that hard to place it on the website.

besides, “this software may only be licensed free of charge” is not clear terms of use. it says one can’t sell this software, but some licenses, while do not allow to sell the software, do allow using it as part of a commercial product. For example, could someone who sell computers preinstall ImgBurn on computers he sells? Or include a CD with his PC for free? He doesn’t sell ImgBurn, but wants to give his customers some free tools they can use. (This is not what we’re doing, btw. Its just an example.)

[B]i’m not accusing author of anything, just a couple of friendly suggestions, since he dropeed in on this post[/B] :wink:

It uses SPTI under NT, ASPI is purely for Windows 9x based OS’s.

SPTI is only available to users with Admin rights though - although I believe there are some things you can do to get around that.

I personally haven’t seen the need to clarify the license on the website. It’s freeware and people can use it wherever they please. By that I mean they can use it at home or at work. That covers 99% of the user base.

I never for 1 second thought the people behind a commercial app would think ‘oh that looks nice, lets add that to our software bundle and pretend we made it’.
If they have any sense of decency about them they’ll always ask first. If they don’t, would it really matter what I put on the website? Probably not :wink:

I’d have no problem if a little ‘spare time’ pc builder added the software to new pc’s as part of a collection of useful freeware tools - assuming of course that buyers weren’t charged for them.

What I don’t want is it being bundled with a commercial package. All that means is that they get the money, I get the support requests! Hardly fair now is it.

I’ll be sure to stick something on the website in the near future to clarify the situation. Thanks for the feedback.

i guess we were typing at the same time :slight_smile:

there are other uses for system tools like this for commercial apps other then bundle and pretent they made it. of course those who don’t have “any sense of decency” don’t care. but to those who do, it is important to make sure it’s ok whith authors that they include it. and about asking - sure you’d see an email from me if it worked for me and i decided i’d like it if its available… but if i knew ahead that its not, i wouldn’t even spend my time trying it out (again, not blaming nyone here :)). besides, when i have to emails someone, who is to say that person is going to reply to me today, tomorrow, a week from today, or ever?