How can I delete a folder or file with path too long in recycle bin?

Viewed 1349

I have the program that deletes and copies some folders or files with long path (when lenght > MAX_PATH) In this program I use the prefix \\?\ that gives me the possibility delete folders or files with long path but only in simple function Delete(). I need to delete files in Recycle Bin and for this I need use the SHFileOperation function that gives me possibility delete files in the recycle bin, but this function does not support the prefix \\?\ . Can anybody help me with this issue?

Is there some alternative for SHFileOperation. How can I bypass this problem?

Some links:

1 Answers
Related