Fscommand to open .bat file in MX

Ok, i am stumped. i have written the code:

on (release) {
fscommand (“exec”, “launch.bat”);

}

to open a .bat file using fscommand.

launch.bat is:

@echo off
LAUNCH index.html
exit

I have saved as MX projector & as u know MX will not allow this, :*(
is there any way around it?.

All i want to do is open a index.html file on the cd.

Any help would be really appreciated.
:beam:

Well, no one has helped me so far =( , but if anyone is interested, here is a great look into this issue.

Gotta love it…

http://usuarios.lycos.es/didinomade/ProjectorsBurningFAQ.htm#fsc

did you put the .bat file in a ‘fscommand’ folder?

if you are going from projector to lauching a .html, why not just make an autorun.inf file which lauches your projector?

Hey no bone,
i have an autorun.inf which opens up my .exe on pc.

Flash 5 runs the fscommand above no problems, and opens up whatever file i write in launch.bat .

the problem here is Flash MX not running the fscommand, and i am not the best PC programmer to deal with this. =(

How does putting the .bat file in a fscommand folder help?..

Thanks…!

i mentioned the fscommand folder because the command ‘exec’:

"Executes an application from within the projector. In Macromedia Flash MX this application must be in a folder named “fscommand” which is a direct subfolder of the projector. "

(from http://www.macromedia.com/support/flash/ts/documents/fscommand_projectors.htm)

but if you just want to open an index.html from a button in your projector, why not just use:

on (release) {
getURL(“index.html”, “_blank”);
}

thanks no bone, i will give the fscommand folder a trial.

I feel like a dope. The geturl now works on the PC…

I am confused but happy…
back on my medication i think…
Thanks!

i have the same problem and guess what?

here an anouncement…

flash mx create a restriction security to do this… why? cause is about ethics…

so the exec command doesn´t work with .swf file, you must create the proyector… the .exe file and then you can exec your external aplication… like is mentioned in macromedia…

or

you can create your proyect enterily with flash 5.0…
en use the same command but the aplication must be in the same folder…