While I'm unsure of your OS, you could try storing the 'A' folder and the 'B' folder in another folder called 'AB.' Then, when choosing a directory, you can narrow down to folder A, B, or AB as a source, where AB will contain all of A and B. That's as specific as I can get without knowing more about the OS and programs you're using.

Talk Doctor Online in Bissoy App