Add trusted folder

Add trusted folder

andre_adc-dao
Advocate Advocate
1,486 Views
4 Replies
Message 1 of 5

Add trusted folder

andre_adc-dao
Advocate
Advocate

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é

 

0 Likes
Accepted solutions (2)
1,487 Views
4 Replies
Replies (4)
Message 2 of 5

BlackBox_
Advisor
Advisor
Accepted solution

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.

 



"How we think determines what we do, and what we do determines what we get."

Sincpac C3D ~ Autodesk Exchange Apps

Message 3 of 5

andre_adc-dao
Advocate
Advocate

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é

 

0 Likes
Message 4 of 5

BlackBox_
Advisor
Advisor

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

 

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

 

Cheers


"How we think determines what we do, and what we do determines what we get."

Sincpac C3D ~ Autodesk Exchange Apps

0 Likes
Message 5 of 5

andre_adc-dao
Advocate
Advocate
Accepted solution

It works perfectly using the system variable TRUSTEDPATHS.

 

Thank you very much,

 

André

 

0 Likes