寫一個名為bc4的文件,內容如下:
#!/bin/sh
/mnt/c/Program\ Files/Beyond\ Compare\ 4/BComp.com $(wslpath -aw $1) $(wslpath -aw $2)
bc4 file1 file2
參考:https://forum.scootersoftware.com/forum/beyond-compare-4-discussion/version-control-aa/14411-new-updates-in-windows-wsl