Jump to content

Anyway to write a file to a CD in the CDROM?


Recommended Posts

Like say i have a Database that i want to backup using autoit.

The Database is on Computer A.

At 3:00 am every night i want the script to copy the Database on Computer A and place it on a writable CD-ROM if one is detected in the CD-ROM Drive.

Is it possible or not?

I wrote up somthing that calculated the size of the CDROM and compares to size of the database to make sure there was enough room. If there was enough room i tried to write to it. But unfortunatly it always gave me an error saying that it could not fit. \

...i lost the file when my Hardrive crashed a week ago, I'll try to write it up again.

It did not work though,-- I came to the conclusion then that maybe it was just not possible to send an automated command to write somthing to your CD-ROM.

Thanks for any info.

Link to comment
Share on other sites

You can only write directly to cdrom if you have a program like roxio directcd or nero incd running on the computer you are using. It is the same thing if you try to save a document from something like notepad directly to cd. Notepad will throw an error up saying that it is not possible.

Edited by this-is-me
Who else would I be?
Link to comment
Share on other sites

What about using MakeIso and BurnCD external programs?

They are easy to use and totally command line (I am pretty sure they are included in WinXP installation).

<{POST_SNAPBACK}>

M:\>burncd
Command or file not found

cdburn is part of the Ressource Kit for XP but you still need something to create an image. mkisofs (I've seen some win32 ports) comes to my mind for this.

Link to comment
Share on other sites

So...

http://gosh.msfnhosting.com/Files/cdimage.exe

CDImage allows you to make the ISO from command line

http://gosh.msfnhosting.com/Files/aio/CDBURN.EXE

http://gosh.msfnhosting.com/Files/aio/DVDBURN.EXE

CD/DVDBurn allows you to burn the ISO in using your CD/DVD-Burner

I think this programs are already in WinXP but.. If I am wrong just download them :ph34r::(

Link to comment
Share on other sites

  • 1 year later...

hey, ezzetabi keep those ideas comming!

to most people here thats thinking outside-the-box. ;)

Combined with other valuable resources Autoit can do some remarkable things. I'm going to make a backup script using those two command line progs : cdimage and cd burn

Thnks for the good info

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...