SHFileOperation replace file dialog

Posted by JHowzer on Stack Overflow See other posts from Stack Overflow or by JHowzer
Published on 2012-06-05T13:41:12Z Indexed on 2012/09/20 21:38 UTC
Read the original article Hit count: 169

Currently, SHFileOperation has some confirm file replacement dialog boxes that ask the user if they would like to replace a file or not. I find these useful, but I would like to be able to modify the scenario in which they occur. Instead, I would like to compare the file contents first with a bool compareFile() function I wrote. Then, if the files are identical the file replacement dialog box will not come up. Assuming, I already have a working compareFile() function, is there a way for me to do this? Thank you for your time.

© Stack Overflow or respective owner

Related posts about file-management

Related posts about shfileoperation