Hi Guys.

I'm trying to copy a file in a folder using the Access module rather than VB. My Autoexec marco will run a Function fStart() that has the following code:

FileCopy "E:\first.txt", "E:\first_bk.txt"
DoCmd.Quit

I do not have any problem if I double click the autoexec macro in access, the system will copy the appropriate file and quit the application. But I need to schedule this program to run at early hour. Whenever I double click the MDB file, the system copy the appropriate file but with popup window with the error message appear:

Cannot find the file 'E:\db1.mdb' (or one of its components). Make sure the path and filename are
correct and that all required libraries are available.

What could be the problem? Thanks.
:?: