I don't know if this is the right place to ask this (I couldn't find the Forum for Visual Studio), but I don't know where else to go. I'm sure there are many developers that use SourceGear's DiffMerge software:
https://www.sourcegear.com/diffmerge/
I have added an External Tools command to Visual Studio 2019 Community that opens this with the selected file. I am attempting to also add one that opens it with 2 directories for the Folder Diff feature:
https://www.sourcegear.com/diffmerge/webhelp/chapter_folderdiffwindow.html
https://www.sourcegear.com/diffmerge/webhelp/sec__clargs__diff.html
I needed to use a Batch File (*.bat) file to do this, which was not a problem. However, because the 2 command line arguments are both directories (which means they end in a backslash), it is trying to interpret the 2nd argument as a file in the first directory. This is true regardless of whether I hardcode the arguments, whether I call it from a Batch File, Command Prompt, or even just Run (WIN+R), so it is not because of being in a Batch File. Is this unique to my scenario? Has anybody else ever tried to use command line arguments in which there are arguments that follow arguments ending in a backslash? Any ideas? Thanks.