![]() This is because I noticed that the file explorer passes the second file as the first parameter, and then the first file as the second parameter. You might notice that I have reversed the %1 and %2 parameters in the batch. ![]() Start "Compare files" /B /MIN "%vspath%\devenv.exe" /diff %2 %1 First:'%2' Second:'%1' Set vspath=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE Visual Studio already has everything you need, and there are only some configuration steps required to make this working: File compare using drag & dropĬreate a new batch file using your favorite text editor. ![]() It only requires a little preparation which you need to do once and then it is useful like a Swiss army knife. Inspired by Vladimir Reshetnikov's answer above, I found a very comfortable way how you can instantly compare two files with Visual Studio by using drag and drop or via the "Send To" context menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |