For people that have ran into this problem, you need two files, this is incredibly easy to do, I am mostly posting it here for my own reference since I never see to be able to find this information when I need it lol. Here it is!

.inf files can only run an .exe, so you have to make a executable file that opens the .pdf which in turn the .inf can autorun.Open Notepad and type:


shellexecute = “start.bat”

icon = autorun.ico

Then open Notepad again and type:

then save it as start.bat

(without the brackets)

(If your filename has spaces in it, replace the spaces with an under_score)

« »