Link to home
Start Free TrialLog in
Avatar of mwoolger
mwoolger

asked on

Burn CDs from WINNT batch file/command line

Hi,

I need a command line cd burning app (or preferably an app that can also be called via command line so i can use both methods) so that i can put a call to it in a .bat file.

the objective is that i am going to have a bunch of files and i will be using the batch file to organise files into directories (in a tree structure, hanging off of one directory) and then burn a CD.

it is for an IDE CDRW - i have tried CDRwin but it requires ATAPI scsi stuff (which i havent got).

Ideas/suggestions? any particular ones to avoid??  
Avatar of Pete Long
Pete Long
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of mwoolger
mwoolger

ASKER

well ok, i dont mind paying a bit for the software but i'd prefer one i can download a trial of to prove it works - thats my main concern - to order something then find it doesnt do the job easily. any ideas for trial versions that will work with IDE drives?
Well Ive looked all over and cant find ANYTHING? :-\

PL
It would be handy. Right now I test for a completed download from the host. I then process that file which produces several output files. I need to maintain copies of both input and output. Currently I copy them to another location and then to CD. But the CD location is less secure.
ASKER CERTIFIED SOLUTION
Avatar of MadonnaC
MadonnaC

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Mwoolger,

Golden Hawk Technology http://www.goldenhawk.com has a package named Copy2CD will do what you are looking for.  Go there and then select "Download Area" and then select "MS DOS 16 bit" version.  This is an evaluation version.  When you paid for and registered the software, you should be able to directly copy your data into your CDR.

Here is the read me file which comes with the evaluation version.


              COPY2CD.EXE - Direct to CD File Copier


>>> PROGRAM DESCRIPTION <<<

    COPY2CD.EXE will copy the files from one or more directories on your
harddrive to a CD recorder (either "on the fly" or by building an ISO9660
image file first). The disc is written using track-at-once recording.

***********************************************************************

>>> COMMAND LINE USAGE <<<

Usage: COPY2CD <pathname or @listfile> [imagefile] [/ID=ha:id:lun]
         [/BATCH] [/BEEP] [/CACHE=n] [/EJECT] [/IMPORT] [/JOLIET] [/MODE2]
         [/NOCONFIRM] [/NODOS] [/NOFINALIZE] [/NOUNDERRUN] [/NOVERSION]
         [/RECURSE] [/SESSION] [/SPEED=n] [/TEST] [/VERIFY] [/VOLUME=label]
         [/ARCHIVE] [/HIDDEN] [/SYSTEM]
pathname    - Directory pathname to backup
@listfile   - File that contains a list of pathnames to backup
imagefile   - ISO9660 image filename (optional)
/ID         - SCSI ID of CD recorder (default is first found)
/BATCH      - Disable all logging messages
/BEEP       - Issue an audible 'beep' when recording has finished
/CACHE=n    - Cache size in megabytes (32-bit version only)
/EJECT      - Eject CD when recording has finished
/IMPORT     - Import previous session from disc
/JOLIET     - Enable Joliet long filename support (32-bit version only)
/MODE2      - Write sectors in MODE2 format (default is MODE1)
/NOCONFIRM  - Disable all confirmation prompts
/NODOS      - Disable DOS filename compatibility
/NOFINALIZE - Disable session/disc finalization
/NOUNDERRUN - Enable buffer underrun protection (if supported by recorder)
/NOVERSION  - Disable filename version numbers
/RECURSE    - Recurse all subdirectories
/SESSION    - Open new session after finalizing current session
/SPEED=n    - Recording speed (default is maximum)
/TEST       - Enable test recording mode
/VERIFY     - Verify disc after recording
/VOLUME     - Volume label (maximum 32 characters)
/ARCHIVE    - Include \"archive\" files only
/HIDDEN     - Include \"hidden\" files
/SYSTEM     - Include \"system\" files
e.g. COPY2CD C:\MYFILES\ /JOLIET /TEST /ID=0:5:0
e.g. COPY2CD @DIRLIST.TXT TEST.ISO /IMPORT /RECURSE /VOLUME=MY_FILES

PATHNAME - The pathname must specify a directory, so it must end with
"\" (e.g. "C:\TEST\MYFILES\"). You can also specify a filename (@list)
which contains a list of pathnames to backup.

IMAGEFILE - Specifies an optional ISO9660 image file. If this parameter
is specified, then an image file will be created prior to any recording.
Otherwise, the disc will be recorded "on the fly".

/ID=ha:id:lun - Specifies the SCSI ID of the CD recorder.
  "ha"  = Host adpater number (usually zero)
  "id"  = SCSI ID number
  "lun" = Logical unit number (usually zero)

/BATCH - Disables all logging messages on the screen. This is useful
when running the program from a batch (.BAT) file.

/CACHE=n - Enables the high performance caching feature and sets the size
of the cache in megabytes. Recommended value is 2 to 16 megabytes. This
feature is only available in the 32-bit version.

/IMPORT - Imports the previous session from the disc. This option allows
you to add new files to the disc and still be able to access all files
that were previously written. If you do not select this option, then all
files in the previous session will be inaccessible.

/JOLIET - Enables long filename support for Windows 95/98/NT/2000/XP.

/MODE2 - Writes the disc in MODE2 format.

/NOCONFIRM - Disables all confirmation prompts on the screen.

/NOFINALIZE - Disables disc finalization (writing of leadin/leadout
tracks). This allows more tracks to be addded to the current session.
The disc will not be readable on a regular CDROM reader until it is
finalized.

/NOUNDERRUN - Enables the buffer underrun protection feature (BurnProof,
JustLink, etc.) in the CD recorder (if supported).

/RECURSE - Causes MAKEISO to recurse all subdirectories. Otherwise,
only files in the specified directory are processed.

/SESSION - This will cause a new session to be opened on the disc
after the current session is finalized. This allows for the creation
of multisession discs.

/SPEED - Recording speed (the default is the maximum allowed by the
selected CD recorder).

/TEST - Enables test recording mode (the disc is not written to).

/VERIFY - Verify the disc after it has been recorded.

/VOLUME - The first 11 characters of the volume label will be returned
as the disc's volume label from all DOS/Windows utilities.

/ARCHIVE - Processes only files with the "archive" attribute set.

/HIDDEN - Processes all directories and files with the "hidden"
attribute set. These are ignored by default.

/SYSTEM - Processes all directories and files with the "system"
attribute set. These are ignored by default.

**********************************************************************

Please send all suggestions, comments, and bug reports to...

Golden Hawk Technology
909 Columbia Circle
Merrimack, NH 03054

Phone: 603-429-1008
FAX  : 603-429-0073

URL  : http://www.goldenhawk.com
EMAIL: support@goldenhawk.com
Thanks to both hunart and madonnaC
however:
I will try nero today and see where i get. I have already downloaded copy2cd but i cant get any of the utilities in goldenhawks thing to work - it just hangs when the burn has finished and never returns the command prompt, meaning it ultimately crashes the machine (as windows explorer gets in a knot as well). So in the meantime - have you any ideas as to why goldenhawks thing might be hanging? i emailed them on friday but nothing yet.