In a previous post, I showed how to compare two files using Visual Studio Code, the solution works for both Windows and Mac, However, on Windows, we can do the same task using the Developer Command Prompt for Visual Studio.
Search for the command prompt in the search box.
In the command prompt, Use the following command :
devenv /diff File1 File2
A new window shows the difference between both files.