JIm,
setPermissions doesn't work. One of the problems is that some files have 'hidden' attribute so the QFileInfoList doesn't even see them. I had to use QProcess to launch an MSDOS batch file:
CD %1
ATTRIB -h -s -r /s
EXIT
and add a delay before launching the delete files algorithm.
I'm sure there's a much cleaner way using WIN32 API functions because an entire folder can be sent to the Recycle Bin with a single key-stroke.




Reply With Quote


Bookmarks