The following examples sends a file to a running Windows Editor window.
lHwnd := FindWindow('Notepad', nil); lFiles := TStringList.Create(); lFiles.Add('C:WindowsWindowsUpdate.log'); SendDropFiles(lHwnd, lFiles);