# Opening pdf with .bat file

**URL:** <https://forum.kirupa.com/t/opening-pdf-with-bat-file/97094>\
**Category:** Uncategorized\
**Created:** [December 17, 2003, 6:08pm UTC](https://forum.kirupa.com/t/opening-pdf-with-bat-file/97094 "2003-12-17T18:08:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [December 17, 2003, 6:08pm UTC](https://forum.kirupa.com/t/opening-pdf-with-bat-file/97094/1 "2003-12-17T18:08:35Z")

</div>

Hi all,

I was reading this thread:  
[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=25317&highlight=pdf](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=25317&highlight=pdf)  
because I want to do the same - launch a pdf from a button. The problem is that I will end up launching 47 pdfs from 47 buttons (one per, obviously). What I want to know is, do I need a .bat file for every single .pdf file? or is there some way to consolidate?

Question #2 - if I DO need a .bat for each .pdf then do they all have to be at the same level as my main swf? Or can I tuck them into a subdirectory?

Any guidance would be greatly appreciated!
