Hi, I am trying to delete files programmatically and put them in the
Recycle Bin. I am using SHFileOperation and everything works fine,
except when I try to delete files with more than 10 characters in the
name (not including the extension). So if the file is named
"testerfile.jpg" it will work. If the file is named "testerfiles.jpg"
it will not. However, if the file is named "testerfiles.jpg" and I try
to delete "tester~1.jpg", it will work as well. This looks like how
MS-DOS used to work, except with 10 characters instead of 8.
Is there any chance there is a flag or something that needs to be set?
I am currently using FOF_ALLOWUNDO and FOF_NOCONFIRMATION flags. Any
help in this would be greatly appreciated. Thanks!