Sign in to follow this  
Followers 0
Falling

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

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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?

Share this post


Link to post
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).

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0