You can use the following method to build an Autorun file. I would use this to call a batch file on the cd that would copy the database.
How to Build an AutoRun File for a CD
Use any text editor (like NotePad) to create a file named AUTORUN.INF. The general format of this file is as follows:
[AutoRun]
Open=Setup.exe
Icon=setup.ico
Label=Drive Label
ShellExecute=Filecopy.bat
Shell\ReadMe\command=readme.exe
Shell\ReadMe=Read &Me
Any or all of these lines are optional and can be used in any combination. More than one of each line may coexist (You can run two or more programs on loading a CD).
Here are the definitions of the above lines:
Open= Must be followed by a valid executable file name, and is the file that willrun upon insertion of the CD. If the executable is not in the root directory, a path must be specified (but not a drive letter). (To run D:\Setup32\Setup.exe, type Open=Setup32\setup.exe)
Icon= Must be followed by valid icon-containing ICO, DLL, or EXE file. If the file contains more than one icon, this line must have a comma followed by the (zero-based) index number of the desired icon after the filename. The icon specified will replace the drive icon in Windows Explorer.
Label= Must be followed by ASCII text. The text specified here will replace the label of the CD drive in Windows Explorer.
ShellExecute= Should be followed by a valid data file. For example, to automatically run a batch file include the line ShellExecute=Filecopy.bat, or whatever name you choose
Shell\verb\command= Allows adding an option to the right-click menu for the CD drive in Windows Explorer. The command must be a valid executable file name.
Shell\verb\= Defines the name of the new entry. To allow a hotkey, use the ampersand (&) before the desired hotkey letter.
Note: "verb" must not contain any spaces.