Register Directories for JavaScripts to Access
For users who are doing alot of
JavaScript that requires access to directories -
To amend this, edit the policy config file to add these two lines:
permission java.io.FilePermission "C:/Scripts/2008/06", "read";
permission java.io.FilePermission "C:/Scripts/2008/06${/}-", "read";
to the /** Permissions for user written Javascripts **/ section.
Note: "C:/Scripts/2008/06" is the path to a the filesystem that you are working on.
--
ZacSim? - 23 Jun 2008