Skip navigation
Peter Drotik
Currently Being Moderated

How to make specific file.bat for opening PDF

Apr 23, 2012 8:17 AM

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?

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points