Code: Select all
TOTALCMD#BAR#DATA
%ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE
%UL
%ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE
Spreadsheet Compare
-1
-1
Thank you for your advices.
Moderators: white, Hacker, petermad, Stefan2
Code: Select all
TOTALCMD#BAR#DATA
%ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE
%UL
%ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE
Spreadsheet Compare
-1
-1
If %C1 %C2 crashes your program then this its not a TC fault.Damel wrote:Hi, I want to compare 2 excel files (xls, xlsx), to figure out where the changes was made. I have the MS Office 2016 and I use this button:And it works fine, if both files are in the same dir. But, and this is way more often, if is one file in left and another in right panel, then this obviously cannot work. So I tried to use %C1 %C2 instead, but that was bad idea. The SPREADSHEETCOMPARE.EXE crashed and excel file in left panel was deleted, permanently (I had to use Recuva to recover him). Take this as warning advice! So.. do you have any idea how to solve this without copying files into only one panel (with renaming, because they have in most situation same name)?Code: Select all
TOTALCMD#BAR#DATA %ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE %UL %ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE Spreadsheet Compare -1 -1
Thank you for your advices.
Code: Select all
@echo off
echo %1 > "%temp%\excelcmp.txt"
echo %2 >> "%temp%\excelcmp.txt"
"%ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE" "%temp%\excelcmp.txt"
Code: Select all
TOTALCMD#BAR#DATA
<MyPath to>\excelcmp.cmd
%C1 %C2
%ProgramFiles(x86)%\Microsoft Office\Office16\DCF\SPREADSHEETCOMPARE.EXE
Spreadsheet Compare
-1
-1