1. Make one reg file (example):
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\MyFind]
@="YourFind"
[HKEY_CLASSES_ROOT\Folder\shell\MyFind\command]
@="C:\\Programs\\YourFind.exe %1\"
2. Exec reg file (double click)
3. Make your program in C:\Programs\YourFind.exe (or other

)
4. Assign command line parameters in your program (%1 is file, click in WinExplorer). Command line parameter in Delphi: ParamCount, ParamStr.