0 Replies Latest reply on Apr 23, 2012 8:17 AM by Peter Drotik

    How to make specific file.bat for opening PDF

    Peter Drotik

      I have a Flash project (*.exe) on DVD and I need to have possibility to open external PDF,

      I have read, that it is no chance to do it per fscommand("exec", "file.pdf");

      I am using method opening via file.bat in fscommanf directory...

       

      I need help in this syntax for file.bat:

      User should open this PDF in his own reader (PDF Reader...),

      however if he has no pdf reader installed on his PC, there will be lightweigth pdf reader portable on DVD and he could read PDF via it.

       

      My file.bat:

       

      @echo off  
      start Sumatra/sumatra.exe file.pdf
      

       

      I don´t know write the condition in this file.bat.

       

      Any help?