PDA

View Full Version : [AS2] how to run".exe" using batch file


sonu_singh2006
02-02-2009, 10:23 AM
Hi,
Please help me out.
I made a batch file(test.bat) by writing this.
start file1.exe
and put it to fscommand folder.
And i am calling this batch file in .fla by writing this code
on(release)
{
fscommand("exec","test.bat");
}
when we click on button of the projector file, it just displays a black window of "dos" for only 1 millisecond,it dosn't execute ".exe" file.

Please tell me what's the problem behind this.
Thanks.
Sonu Singh

northcode
02-02-2009, 10:40 PM
Are you using Flash CS3? If so, you could be running into this problem: http://www.northcode.com/blog.php/2007/08/14/FSCommand-EXEC-is-Broken-in-Flash-CS3