I'm trying to compare subset of files between two folders using beyond compare.
example: folder A , and folder B. I want to compare specific files from the directories :
c/d/foo.java
e/f/bar.java
filter won't help here since I want to choose files by name, not by file extension.
Beyond Compare's filename filters can include path information or complete filenames; they're not limited to just extensions. From the File Masks topic in the help:
For your specific example, you can use
c/d/foo.javajust like you wrote it.