# Need help open external file

**URL:** <https://forum.kirupa.com/t/need-help-open-external-file/240789>\
**Category:** flash\
**Created:** [October 6, 2007, 5:00am UTC](https://forum.kirupa.com/t/need-help-open-external-file/240789 "2007-10-06T05:00:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![armanique](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@armanique](https://forum.kirupa.com/u/armanique)\
**Post date:** [October 6, 2007, 5:00am UTC](https://forum.kirupa.com/t/need-help-open-external-file/240789/1 "2007-10-06T05:00:27Z")

</div>

Hi guys kind of really need help fast.

I have read in this forum how you are able to open an external file using the bat files to launch a pdf file.

Ok what i did wat i created a bat file called launcher.bat which contains  
START mydoc.pdf

and in my flash file  
on (release) {  
fscommand(“exec”, “launcher.bat”);  
}

the problem im having is the flash does not even called the launcher.bat file but on its own, the launcher.bat file works a ok. Im currently using the Windows XP platform.

Your help will be much appreciated
