Batch – If the file does not exist, display the folder

Everybody,
I have a question, is it possible to say a batch script? Should he show me the folders where the XYZ.pdf file does not exist?

The path structure must be so outside that you can see directly from which folder it is.