Why does A work, but not B?

-- method A
revGoURL "file:///" & the defaultFolder & "/launchThisDoc.pdf"

-- method B
revGoURL "file:launchThisDoc.pdf"

I scoured the archives for the best way to launch a PDF file in Windows, and I guess I like method A the best. It's the method I have found that does all of

- uses default PDF viewer program
- non-blocking
- not dependent on outsmarting the Windows shell
- not dependent on registry lookups or anything else to go wrong.

So is method A as bulletproof as I think? Any potential path problems between the defaultFolder and revGoURL? Also, what is the reason for the "///" in method A? I don't know what that represents in a URI.

Thanks,

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to