Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete file recycle in FPW 2.6
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00641063
Message ID:
00641456
Views:
11
I have tried many approach like:
COPY file c:\dev\test.prg TO "c:\reclycler\S-1-5-21-1645522239-746137067-854245398-1000\test.prg"
Where the long string was the name of the recycle bin in the explorer and some variations on this theme, but nothing works...

Thanks anyway, the VB exe seems to be the simplest solution :-)



>>>>That can help if somebody can explain how to pass this structure to Foxtool's REGFN()...
>>>>
>>>I think that Rick Strahl's site has an fll which allows you to call 32 bit functions. You might check there. You can't use Foxtools to register SHFileOperation because it's a 32 bit dll.
>>
>>Well, is there another way to do this simple operation?
>>Like: Copy file "c:\myfile.txt" to "c:\recycler\myfile.txt" or something like that?
>
>Dubious at best. See my MESSAGE#639535. In that message I tried, in VFP 7.0, to do this without success. The message documents what happened. Given that the Recycle Bin is a virtual folder, and, if I recall correctly, it may not be in a particular location, I doubt that you could do this. However, since I've never tried, I can't be 100% certain.
>
>>Anyway, I will forward your solutions to the person who ask for that in the French forum and see what he think about it...
>>
>>Thank you all :-)
>
>You're welcome.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform