General information
Category:
Coding, syntax & commands
Jim,
The following works from the command window, so I'll assume it'll work in code.
run del *xxxxx*.dbf
Where xxxxx is any part of the name. However, be careful, you delete files you'd rather keep.
Cheers
Bill
>>>I have a situation where there are some files created that have a leading space, eg. " JUNK.DBF". Is there a way to delete this file programmaticly using VFP5? Delete file, !del, and RENAME seem to have no affect. I am able to delete them with Explorer but I don't want the user to have to deal with it.
>>>
>>>Thanks!
>>
>>Try:
>>
>>DELETE FILE (" JUNK.DBF")
>
>Tried it, reports back "File does not exist."
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only