Delete / Copy files outside current db

  • Thread starter Thread starter Steven
  • Start date Start date
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
..
 
Steven,

This should do it...

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