Delete / Copy files outside current db

S

Steven

I am in a database called C:\GL\GL01NV.mde

What I want to do is:
Delete file C:\GL\GL01FE.mde.
And then copy file E:\GL\GL01FE.mde to C:\GL\GL01FE.mde.

Can someone please help me with the programming of this.

Thank you very much for your help.

Steven
..
 
S

Steve Schapel

Steven,

This should do it...

Kill "C:\GL\GL01FE.mde"
FileCopy "E:\GL\GL01FE.mde", "C:\GL\GL01FE.mde"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top