I believe the MapBasic syntax is:
If FileExists(“C:\Temp.TAB”) THEN
Open Table “C:\Temp”
Drop table Temp
End IF
The “drop” command will delete the TAB file as well as its component. To use the “Drop” command, the table must already be open.
You can also use the command:
Kill “C:\Temp.TAB”
However this will only delete the TAB file and not its components.
Best regards,
Javier Valencia, PE
Principal
Valencia Technology Group, LLC
14315 S. Twilight Ln.
Suite #14
Olathe, Kansas 66062-4571
913-829-0888 Office
913-915-3137 Cell
913-649-2904 Fax
Confidentiality Notice
This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately at 913-829-0888 or by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.814 / Virus Database: 271.1.1/2852 - Release Date: 05/03/10 13:27:00