I believe you can create a batch file and name it autorun.bat. Put this on the CD with the File. I think (someone else can verify if this is true of false) that the autorun.bat file will run automatically when the CD is inserted.
Open Notepad, and copy the following into it, and change the red parts accordingly:
==========
@ECHO OFF
if exist C:\My Documents\MyDatabase.mdb DEL C:\My Documents\MyDatabase.mdb
echo Now Copying Database File
XCOPY A:\MyDatabase.mdb C:\My Documents\ /c /v
==========
Save it as autorun.bat (make sure you type in the .bat when you save it.
Burn this on the CD with the Database file. I am just not sure whether it will run automatically. Jim Lunde
compugeeks@hotmail.com
Custom Application Development
This just copies the file from the disk to the hard drive. If you want to install a run time, the packaging wizard will create installation disks for you. Jim Lunde
compugeeks@hotmail.com
Custom Application Development
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.