[version 2.6 not have backward compatibility!] (DFHL.exe not a valid Win32 application)
[version 2.6 not have backward compatibility!] (DFHL.exe not a valid Win32 application) Version 2.5 working good. How to compile v2.6 to win32 exe (x86), like v2.5 DFHL?
Just tried v2.6 on my XP Pro SP3 32bit and i have the same issue. It runs on Win7 SP1 32bit. The PE header says, that it is compiled for NT6 (Vista+). After editing that to NT5 i was able to run DFHL in XP, but it hangs when parsing folders...
@temp10min, maybe need to compile this with some flags, like gcc -m32
to get a valid win32 Portable Executeble application (PE),
instead to re-write the PE-headers.
Or just maybe need to fix something in the source code. If you have solution, you can let me know it.
P.S.: DFHL v2.5 working on XP SP3. But parsing of the folders is not correct there, too. So I found the following solution.
- Unpack
DFHL.cmdandDFHL.exein the folder with cyrillic pathway, where need to hardlink duplicates-files. - Win+R -> cmd.exe -> Enter
- cd "C:\Documents and settings\Рабочий стол\Василий\Мои документы" -> Enter
- start DFHL.cmd
- wait...
- Duplicates hardlinked successfully in this folder.
"NTFS Link" show the red arrow near hardlinked-files, and WinHEX show the same sectors for two hardlinked duplicate-files.
The second solution which I find - this is using "finddupe.exe".
I created there makefile2 to compile this into win32 application, by using gcc.
the file start_finddupe.bat
allow to input the pathway from the any folder with double quotes,
or just find the duplicate and hardlink this, in the same folder, which was been active, before start this .bat-file.
Best regards
@username1565 I use this as a .cmd file in my SendTo folder:
dfhl /h /l /s /w /r %1
@pause
When you specify a folder, it should not end with a slash, or DFHL 2.5 hangs. This works: DFHL.exe -r C:\Folder This hangs: DFHL.exe -r C:\Folder\