Page 1 of 1

From excel, open 2 dirs in side by side panes?

Posted: 15 Apr 2024 23:30
by wwcanoer
From WinCatalog, I exported a list of folders of the same size that I want to deduplicate

From Excel, can I write a macro or batch file to open XYplorer with two directories in side by side panes so that I can visually compare them before I try to dedupe them with DuplicateCleaner)?

Ex. if cell B2 = C:\DirectoyOne
and cell B3 = C:\DirectoryTwo

Also, for more than two directories, open in multiple tabs.

Thanks in advance,

Brian

Re: From excel, open 2 dirs in side by side panes?

Posted: 15 Apr 2024 23:43
by highend
Why don't you write an XY script that takes the export file of WinCatalog directly?

Re: From excel, open 2 dirs in side by side panes?

Posted: 16 Apr 2024 03:26
by wwcanoer
I've got this working from the command prompt:

"C:\Program Files (x86)\XYplorer\XYplorer.exe" /script="::focus 'p1'; tab('new', 'L:\S'); tab('closeothers'); focus 'p2'; tab('new', 'L:\R'); tab('closeothers');"

Now I'll put this into an excel macro.

(Regarding the other comment: the WinCatalog export is over 500 directories long, in pairs or triplets of folders that are the same size.)

Soon I can open a pair or triplet of folders to compare in XYplorer, BeyondCompare and DupicateCleaner.