dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Can I launch a .bat file from flash?

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Posts
    2

    Can I launch a .bat file from flash?



    please?

  2. #2
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    If you publish as a projector do it like this:

    put the .bat-file in a subfolder called fscommand.

    then in flash:
    Code:
    fscommand("exec", "filename.bat");
    Should do the trick.

    /Mirandir

  3. #3
    Junior Member
    Join Date
    Dec 2002
    Posts
    2
    fscommand("exec", "C:/java/start.bat");


    that doesn't work.

  4. #4
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    Nope! flash MX requires you to have all files to be executed from flash to be in a subfolder called fscommand. it's a sequrity restriction of some sort.

    /Mirandir

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center