An avid Publisher user's problem
If you were an avid Publisher user like me, you might have a lot of .PUB files which will all of a sudden be unusable once Microsoft retires Publisher. I needed a solution to convert them into PDFs — the official Microsoft advice for keeping the files usable long-term. From PDF, they can then be converted into Word documents for editing later, if needed.
I wanted something that could search a whole drive for .PUB files and convert them automatically, with each PDF sitting right next to its original file in the same folder — so if I ever needed one, it would already be there.
I used Claude to build it, and after a number of hurdles, we landed on a solution: a batch file I can point at any drive I choose. It also skips any .PUB file that already has a PDF version sitting next to it, so it's safe to re-run.
Point it at a drive, walk away, come back to a folder full of PDFs.