.NET

Reply
Valued Contributor
andred
Posts: 82
Registered: ‎10-17-2003
Message 1 of 5 (241 Views)
Accepted Solution

Add trusted folder

241 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é

 

Distinguished Mentor
BlackBox_
Posts: 741
Registered: ‎02-25-2013
Message 2 of 5 (229 Views)

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

Valued Contributor
andred
Posts: 82
Registered: ‎10-17-2003
Message 3 of 5 (225 Views)

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
BlackBox_
Posts: 741
Registered: ‎02-25-2013
Message 4 of 5 (215 Views)

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

Valued Contributor
andred
Posts: 82
Registered: ‎10-17-2003
Message 5 of 5 (205 Views)

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é

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community