In the code window, see help on:
Kill
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Mark1" <(E-Mail Removed)> wrote in message
news:9471DC8B-255A-4950-9D0B-(E-Mail Removed)...
> Anybody know the easiest way to delete a text file after I've imported
> it's
> data into my database?
>
> I've got this bit of code, but it tells me that it can't find the file. I
> run it from the CMD.exe line and it works fine:
>
> Call Shell("DEL
> \\HORSEISLAND\NETSHARE\MEDICAL\OOQ\SOLUTIONSWORLD\WORLDS\MARK\WORK\TEST.TXT",
> 1)