I ran into a particularly odd problem when I moved to Flash CS3. It no
longer allowed me to place batch files in the fscommand directory and call
them from a flash projector file. I found this article while searching for
a reason why, and it provides an excellent way to overcome the current issue
with Flash CS3 (and helps with the “flashing black dos boxes” that many
people have to work around when using batch files in fscommand).

http://www.northcode.com/blog.php/2007/08/07/Conquering-FSCommand-EXEC-Part-
1-Proxy

Basically, it provides a software proxy by which you can call out to those
Batch files from Flash projector files (and eliminate the DOS box at the
same time). Just download proxy.exe and rename to match the batch file you
want it to execute.

Example: Want to run “dosomething.bat” so you rename proxy.exe to be
“dosomething.exe”.
and in flash you would call it similarly: fscommand(“exec”,
“dosomething.exe”);


One response to “Flash CS3 using fscommand and batch files”

  1. […] nella finestra dos. Cercando su internet mi sono imbattuto in un sito che tratta proprio di questo bug di flash cs3. Cliccando sul link contenuto in questa pagina accederai ad un sito (tale northcode) che fornisce […]

Leave a Reply

Your email address will not be published. Required fields are marked *