Forum Moderators: open

Message Too Old, No Replies

Opening another file in default application

nothing happens

         

humpg

2:50 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



Hey folks,

I am trying to open a file in it's default application through the flash player. I have made my flash movie an exe and my button has this code attached to it:

on(Release){
fscommand ("exec", "launcher.bat")
}

in the launcher.bat file I have this code in it:

@echo off
start lbii_catalogue.ivc

I have run the .bat file and it opens the right program and runs the file just fine.

Any idea why flash is not opening the .bat file when I click the button in the player.

humpg

2:59 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



Well ten minutes after my post I found the solution. I needed to put the .bat file into a folder called 'fscommand'.

Thanks to anyone that could have helped.

Humpg