fscommand is a pain
it never does what i claims to do, and they keep changing what it is allowed to do.
I checked it out though.
You should have your projecter file (.exe, cant be a .swf) in some folder, and in that folder, you need another folder called fscommand (must be named this for security reasons)
In that folder you need to have your bat files. The pdfs can be anywhere as long as you give a correct path to them in the bat file. In dos you SHOULD be able to type
where openpdf.bat contains
but fscommand will not accept
because the second string must not contain spaces
soooo… you either need to have a bat for each pdf, or do some sneaky things with bat files.
for example, if your pdf’s are in a certain order, you can have a bat file called next.bat and a bat file called last.bat, and a bat file call openpdf.bat, and write some actionscript to call fscommand multiple times to switch to the file you want, and then call openpdf.bat.
This unfortunately requires that you leave a small temporary file somewhere on the users computer (assuming you are running from a readonly CDROM)
but it can be done…