Groups | Blog | Home
all groups > macromedia players flash > january 2006 >

macromedia players flash : FSCOMMAND exec not opening .bat files


josh.loomis
1/15/2006 1:35:43 AM
Greetings all,

I am trying to use fscommand in a Flash file to open a Director .exe through a
batch file. The ActionScript in my Flash movie is attached to a button as
follows:

on(release){
fscommand("exec","launch2.bat");
gotoAndStop(1);
}

But the batch file won't run! I've tried dropping the relevant .exe and all
it's necessary files in the fscommand directory and that didn't work either!
I'm running MX 2002... any suggestions on how to fix this minor but annoying
bug?


art_guy
1/18/2006 5:23:54 AM
Let me guess, XP SP2?
Something other than Flash is probably preventing the batch from executing, thinking it's a virus/trojan/exploit. What kind of anti-virus / anti-spyware are you running?
AddThis Social Bookmark Button