I'm sorry for not explaining that more clearly. When I said 'you could schedule them'
I meant through Windows Task Manager, not through Access.
Start | Program Files | Accessories | System Tools | Scheduled Tasks
Give it a look and the wizards will walk you through the process. Once you have the
VBS files ready, just schedule their launch as a nightly job.
--
Danny J. Lesandrini
(E-Mail Removed)
http://amazecreations.com/datafast
"Tony" <(E-Mail Removed)> wrote ...
>I understand the code in the scripts but where do I insert them in Access?
> Also, how do I define the time to have it auto run?
>
> "Danny J. Lesandrini" wrote:
>
>> Here are a couple of VS Script files that show how to compact and backup a file
>> using the windows scripting engine. You could schedule these .vbs files to run
>> nightly. Just edit them (of course) with your file paths.
>>
>> http://amazecreations.com/datafast/G...WSHBkup001.zip
>> http://amazecreations.com/datafast/G...CompactMDB.zip
>> --
>>
>> Danny J. Lesandrini
>> (E-Mail Removed)
>> http://amazecreations.com/datafast