1.

Solve : Dos script to back up data, CD Rom?

Answer» HI,

Can anyone help me with the script to backup the datas to CD Rom, in a BAT file

i tried Xcopy but its not working ,

thanks in advance
AxlCD-ROM (Compact Disc, read-only-memory)

so COPY would not work. which is where cd burners come in. ASSUMING your computer has a built in cd burner. lets go ahead and find a cd burner program that has a command line...

well heres Commandburner:
Code: [Select]http://www.snapfiles.com/download/dlcommandburner.html
simply install-setup
heres the command lines:

Code: [Select]Usage: [b]CmdBurn command <OPTIONS>[/b]
Where command is one of: burn eject erase fullerase
and <options> is one or more of: /[b]f filepath /d dirpath /l label /erase /eject /fullerase /noexit /?[/b]
[b]filepath is the name of the file you wish to burn
dirpath is the directory you wish to burn[/b]
label is the label of the CD / DVD
/erase if you want to erase before burn
[b]/eject if you want to eject after burn[/b]
/fullerase if you want to a full erase before burn (you don't need to also say /erase)
/noexit if you want to return to interactive mode when the batch process is completed
[i][b]/hide if you want hide the user interface during operation[/b][/i]
/prompterase (use with burn command) if you want to prompt the user when erasing a disc that already contains data - do not use with /hide
/popuperror (use with burn command) if you wish to display a popup if an error occurs - do not use with /hide
/? if you want to see this usage information

try something along the lines of:
Code: [Select]"C:\Program Files\CommandBurner\CmdBurn.exe" /f c:\file.txt [b]OR[/b] /f c:\files\ /label "SHORT cd label" /eject

along those lines


Discussion

No Comment Found