These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Opening a folder in Windows Explorer from the Link Tool

skumar88
Registered: Apr 21 2008
Posts: 2

I want to set up a Link to open the Folder location say "C:\Test\MyFolder\". Note that in the Link Tool there is an action to open a webpage or open a file but no action available to the Folder location. There is an action to run the Javascript and I would like know the javascript to open the given folder "C:\Test\MyFolder\".

Tahnks
Sandeep

My Product Information:
Acrobat Standard 7.0.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The Acrobat security model does not allow uncontrolled Local folder access. This include running other applications from Acrobat. And especially not from a script. Unless it's something really narrowly defined like the browser or email client.

However, as of now, there is a way to work around this. Tell the Browser to do it;)

Use this URL: file:///C:/Temp

Also see this post:

http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=13829

Adobe is massively paranoid about security (and rightly so), so there is no guarantee that this same method will work in the furture on Acrobat, or even on Vista (because MS is paranoid too).

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script