winmerge icon indicating copy to clipboard operation
winmerge copied to clipboard

Set another file explorer for copying

Open rp1231 opened this issue 1 year ago • 6 comments

I want to set directory opus as the file manager for copying files instead of using windows explorer. Is that possible?

rp1231 avatar Apr 09 '24 07:04 rp1231

Unfortunately, WinMerge's file or folder copy uses the Windows shell (IFileOperation), and I don't think you can probably use Directory Ops instead.

sdottaka avatar Apr 09 '24 12:04 sdottaka

That's unfortunate. I was trying to merge files with long paths and the windows file explorer doesn't support long paths..... Looks like i'll have to do the merging manually using directory opus then......

rp1231 avatar Apr 09 '24 17:04 rp1231

@rp1231 that's just a registry key change away:

https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001

Grovkillen avatar Apr 17 '24 07:04 Grovkillen

@grovkillen I have that enabled already but the explorer.exe doesn't support long file path copying and I still get that error.

rp1231 avatar Apr 17 '24 08:04 rp1231

@rp1231 that's weird since I use it in my automation all the time. You mean you get the error when copying long paths outside WinMerge?

Grovkillen avatar Apr 17 '24 09:04 Grovkillen

@Grovkillen yep...

rp1231 avatar Apr 17 '24 10:04 rp1231