.NET

Reply
Valued Contributor
89 Posts
1 Kudo
Registered: ‎10-17-2003
Post 1 of 5
Accepted Solution

Add trusted folder

292 Views, 4 Replies
10-31-2013 09:00 AM

Hello,

 

In 2014, you have trusted or approved folder search path. I'm able to add search path programmatically but I cannot found how to add trusted folder.

 

Anybody have a clue?

 

Regards,

 

André

 

If I am understanding you correctly, you're after this, found in TRUSTEDPATHS documentation:

 


AutoCAD Online Help, TRUSTEDPATHS (System Variable)

 

  • When TRUSTEDPATHS includes a folder that ends with \... (backslash and three dots), all of its subfolders are also trusted.

 


It works perfectly using the system variable TRUSTEDPATHS.

 

Thank you very much,

 

André

 

Distinguished Mentor
787 Posts
80 Kudos
Registered: ‎02-25-2013
Post 2 of 5

Re: Add trusted folder

10-31-2013 11:27 AM in reply to: andred

If I am understanding you correctly, you're after this, found in TRUSTEDPATHS documentation:

 


AutoCAD Online Help, TRUSTEDPATHS (System Variable)

 

  • When TRUSTEDPATHS includes a folder that ends with \... (backslash and three dots), all of its subfolders are also trusted.

 




"Potential has a shelf life." - Margaret Atwood


Autodesk Exchange Apps ~ Autoloader ~ AutoCAD Security


AutoCAD® 2014, and Civil 3D® 2014 Certified Professional ~ Autodesk® Authorized Developer

Valued Contributor
89 Posts
1 Kudo
Registered: ‎10-17-2003
Post 3 of 5

Re: Add trusted folder

10-31-2013 11:39 AM in reply to: BlackBox_

Thank you,

 

I was trying to add trusted folder using Application.Preferences and  I was looking for Files.SupportPath equivalent to trustedpaths. I didn't know there is a system variable. I will use this variable to add trusted path.

 

Regards,

 

André

 

Distinguished Mentor
787 Posts
80 Kudos
Registered: ‎02-25-2013
Post 4 of 5

Re: Add trusted folder

10-31-2013 01:22 PM in reply to: andred

You're welcome; I'm happy to help. 

 

Don't forget to please mark the post as solution.

 

Cheers



"Potential has a shelf life." - Margaret Atwood


Autodesk Exchange Apps ~ Autoloader ~ AutoCAD Security


AutoCAD® 2014, and Civil 3D® 2014 Certified Professional ~ Autodesk® Authorized Developer

Valued Contributor
89 Posts
1 Kudo
Registered: ‎10-17-2003
Post 5 of 5

Re: Add trusted folder

10-31-2013 02:04 PM in reply to: BlackBox_

It works perfectly using the system variable TRUSTEDPATHS.

 

Thank you very much,

 

André

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!