Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete this?!?!?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00213540
Message ID:
00218230
Views:
33
>>Try enclosing the file name in quotes.
>>
>>DELETE FILE "0000000101.txt"
>>
>>Doug
>>
>>>I have two .TXT files that I am trying to delete using the command DELETE FILE > filename
>>
>>> One file is named - 0000000101.txt
>>> One file is named - 0000000102.txt
>>
>>> So I do the following:
>>> DELETE FILE 0000000101.txt
>>> DELETE FILE 0000000102.txt
>>
>>> But nothing gets deleted. What's up with that? Does it have to be 8.3
>>> filenaming convention or what? I am using 10.3 filenaming.
>>
>>> Please help...
>Try the erase command

I hope someone will jump in and correct me if I'm wrong (big worry there) but I think ERASE and DELETE FILE are exactly the same in FoxPro. One is included for compatibility with dBase or something, but they do the same thing.

Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform