File Cut/Copy/Paste/Rename - Windows Explorer Shel
notwendige Expertise
Shell programming
File Cut/Copy/Paste/Rename - Windows Explorer Shell Extension
What we need is a technique to detect that a file or folder has been moved or renamed with Windows Explorer, bypass the standard Explorer behavior (i.e. we need to prevent Explorer from displaying its file move dialog, which manages conflicts between file names, allows to cancel the operation halfway, and so on), and execute our custom behavior (for example, write a log file, execute a command line, or something yet to be defined).
We're aware of two Open Source software doing that, but we don't know how they are doing it. Maybe their shell extensions are doing it, but we are not sure. These applications are:
1) SuperCopier: http://sourceforge.net/projects/supercopier/
we guess the code is int this file \SuperCopier\SC2C++\DDShellExt.cpp and probably also in other files in that folder.
2) Copyhandler: http://sourceforge.net/projects/copyhandler/
we guess it’s in the folder \copy handler\src\chext.
Plus, there is this article (we don't know if this works and the technique is not explained):
http://www.mywingsoflove.com/2009/11/12/howto-handle-copy-paste-from-explorer-using-shell-extension-icopyhook-alternative/
So what we need from you is a (well commented) sample program which displays a dialog box when a file (or a group of files) is moved or renamed with Windows Explorer. The dialog box should say something like "detected movement of file PATH1 to PATH2".
More details:
P.S.: check our software at http://tabbles.net :-)







