Print Thread
bug: "Compare to" command strips quotes from parameters
#59360 01/14/19 09:27 PM
Joined: Jul 2004
Posts: 592
W
Worker Offline OP
Member
OP Offline
Member
W
Joined: Jul 2004
Posts: 592
For my "Differences" tool settings I have:

Executable: C:\Program Files\Beyond Compare 4\BComp.exe
Parameters: "%1" "%2"

But when using the new "Compare to" popup menu item, the resulting command line does not include the double quote characters. This means that if the filenames have spaces, the command is not executed correctly.

Doubling the quotes as follows fixes it, but I don't think that's how this is intended to work.

Parameters: ""%1"" ""%2""

Version 13.0.0.1883 (64 bit) on Windows 10

Last edited by Worker; 01/14/19 09:30 PM.
Re: bug: "Compare to" command strips quotes from parameters
Worker #59368 01/15/19 10:22 AM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
You should not include the quotes. They will be added when needed.


Marco Kalter
Allround Automations
Re: bug: "Compare to" command strips quotes from parameters
Marco Kalter #59382 01/15/19 06:39 PM
Joined: Jul 2004
Posts: 592
W
Worker Offline OP
Member
OP Offline
Member
W
Joined: Jul 2004
Posts: 592
That works. Thank you!


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.029s Queries: 15 (0.010s) Memory: 2.5023 MB (Peak: 3.0394 MB) Data Comp: Off Server Time: 2024-05-22 02:22:29 UTC
Valid HTML 5 and Valid CSS