Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete this file
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01077325
Message ID:
01077344
Views:
37
>Edgar,
>
>Delete rights?
>
>Are any of the folders marked hidden and/or system?
>
>>>Try changing to DELETE FILE (fdir + fname) or DELETE FILE (cDestinationHName) as the file name has spaces that can make the macro expansion fail
>>
>>DELETE FILE cDestinationHName  && File does not exist
>>DELETE FILE &cDestinationHName && File does not exist
>>DELETE FILE (cDestinationHName) && File has been deleted
>>
>>
>>NOT
>>
>>The file is still there

Just needed the parenths

Strange - it seems that I've never had problem with the DEL macro B4
Edgar L. Bolton, B.S. B.B.A.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform