Author |
Message |
hartmannr
Joined: 10 Oct 2006 Posts: 3
|
Posted: Sun Nov 06, 2016 8:43 pm Post subject: External File Comparison Parameters and Long Paths |
|
|
When using the "Long Paths" prefix the parameters passed to the External File Comparison program include the prefix (e.g. \\?\). This syntax is not expected by some or all comparison programs. There should be an option to strip the prefix (\\?\ or \\?\UNC\) when passing the parameter so the comparison will work properly. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
hartmannr
Joined: 10 Oct 2006 Posts: 3
|
Posted: Mon Nov 07, 2016 4:53 pm Post subject: RE: External File Comparison Parameters and Long Paths |
|
|
I am using WinMerge: C:\Program Files (x86)\WinMerge\WinMergeU.exe
Parameters: "%s1" "%s2"
The resulting command line is:
"C:\Program Files (x86)\WinMerge\WinMergeU.exe" "\\?\D:\<folder>\<file>.txt" "\\?\UNC\<server>\<folder>\<file>.txt"
If the Long Paths prefixes are removed, it works:
"C:\Program Files (x86)\WinMerge\WinMergeU.exe" "D:\<folder>\<file>.txt" "\\<server>\<folder>\<file>.txt" |
|
Back to top |
|
|
|