Jump to content

Deleting Files


This topic is 8046 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi All,

I have a script which exports records to a file which is then imported by another database. My problem is that I want to delete the export file before I run another export. i.e.:

> Run Script

> Delete old export file

> Export files to new export file

Does anyone know how I can delete the file from within the script.

I'm running FMPro5 on a Windows PC.

Thanks

Link to comment
Share on other sites

Are you using the script to make an updated copy of the export file?

If yes then you can just set the script to export the file and overwrite the old file... Write the script and specify the file/filename... It will Automatically overwrite it everytime...

------------------

Thanks,

Ken

Link to comment
Share on other sites

This topic is 8046 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.