Sean,
Your .bat file should contain the following instructions without the blank line that I inserted for readability:
============================================================
"C:\Program Files\Microsoft Office\Office\Msaccess.exe" C:\Documents and Settings\Sean Owens\My Documents\Copy of Recipe collection database.mdb
XCOPY "C:\Documents and Settings\Sean Owens\My Documents\Copy of Recipe collection database.mdb" "C:\Documents and Settings\Sean Owens\My Documents\Backup\" /c /f /r /y
============================================================
Note the first instruction calls Access. It appears that you and Idd are letting Windows decide to load Access. That may be fine - I'm an old mainframer used to spelling things out.
The second instruction (xcopy) requirs the /y parameter to avoid a message asking permission to overwrite the backup copy. You may or may not need the other parameters as I copied this from a .bat file that runs for me every day.
Run your .bat file by double-clicking it and verify it starts your database. Close your database normally. I.E., using the File drop-down and exit or buttons on your forms. What I mean is if you use Task Manager to kill the job, the copy won't run for sure. And there are probably other non-standard ways to exit the database that would not allow the xcopy to run.
Once the .bat file runs to your satisfaction, you need to make a shortcut to it. You can do that by right-clicking the .bat file and following the instructions. Then copy/move the shortcut to your desktop. You'll need do something for each user of the database. Sorry, I'm being ambiguous, but I don't know how you're using your database or how your network is set up. Generally you don't want to put the .bat file in the same folder as the database because that makes it too easy for a User to pick the real database and then the copy won't be performed.
Hope that helps - I need to earn some money for my employer.
Idd,
Change:
xcopy C:\WINDOWS\Desktop\Finance\test\FinanceFE0304.mdb C:\WINDOWS\Desktop\FinanceFE0304.mdb
xcopy C:\WINDOWS\Desktop\Finance\test\Finance0304.mdb C:\WINDOWS\Desktop\Finance0304.mdb
To:
xcopy C:\WINDOWS\Desktop\Finance\test\FinanceFE0304.mdb C:\WINDOWS\Desktopxcopy C:\WINDOWS\Desktop\Finance\test\Finance0304.mdb C:\WINDOWS\Desktop
because Windows thinks the destination should have a FOLDER named Finance0204.mdb
HTH,
Bob
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)