Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I delete a file with a leading space?
Message
From
19/08/1999 18:45:35
 
 
To
19/08/1999 18:38:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00255531
Message ID:
00255595
Views:
22
>>>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."

Then maybe it's not a space. It may be some other kind of non-visible character.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform