Delete file not in database

Lex

Registered User.
Local time
Today, 11:20
Joined
Jan 7, 2003
Messages
11
Is it possible to delete a file that is not in a database?

What I have is a simple macro that imports data form "readings.txt". This file is automaticly generated by another program.

After i import the data, i need to delete the old "readings.txt" file so that I will not have double data next time i import the file?

The other program just generates a ascii file with headers.
 
In the code, wherever you want the file to be deleted, try this:

Kill "readings.txt"

Make sure to include the full path to the file in this statement between the quotes.

HTH,

Vassago
 
Thanks, Works great and will save me lots of time doing the same thing over and over every day.
 

Users who are viewing this thread

Back
Top Bottom