Use Yorick in batch mode to query paths.