Batch file command lines for CD

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We are using DLA to copy backup files to a CD. I want to be able to create a
batch file that formats the CD, copies the files, and makes compatable the
drive.

I want to do this so that we can have unattended backups made. The person
only needs to retrieve the CD and put it in the safe.

I don't need to use DLA but I want to do this with a batch file or if you
have other suggestions, I would like to hear them.

Thanks
 
You can't format the CD with a batchfile,...but you can format the CD ahead
of time.
Then it is just a normal copy operation after that. Experiment,...format a
CD first,...then from a command line copy a file to the CD,...if it works
then the batch file will work,...if it doesn't, then it just isn't going to
work.
 
You can do it from the command line as long as DLA supports it or can use
switches. For example lets say that the DLA executable is DLA.exe Options
could be /f for format. From the CLI type <path>\DLA.exe /f. It should
format the disk. All of this really depends on DLA. To find out what
switches you can use, try typing DLA /? from a command prompt. If CLI is
supported it's usually on their support site with examples and
documentation.
 
Check out Neteng's post. If it can be done,...that would be the way,...but
I really doubt if the DLA will work by commandline.
 
That was a very good suggestion. It does do formating from the command line.
Thanks.

My next questions, is there a better way to do this. Create batch commands
to format cd and copy backup files to the CD to save from a network?

Thanks
 
That's a good way to do it. I always believe in working smarter, not harder!
Without knowing much about DLA, I'm assuming it has no scheduling abilities?
If not or if the GUI is unreliable, scripting is the best way to go. You can
schedule the script to run each night, just remember to put a new disc in.
 
Thanks for your comments and help

Neteng said:
That's a good way to do it. I always believe in working smarter, not harder!
Without knowing much about DLA, I'm assuming it has no scheduling abilities?
If not or if the GUI is unreliable, scripting is the best way to go. You can
schedule the script to run each night, just remember to put a new disc in.
 
Back
Top