.NET

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

Add trusted folder

287 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
BlackBox_
Posts: 785
Registered: ‎02-25-2013
Message 2 of 5 (275 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


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

Valued Contributor
andred
Posts: 89
Registered: ‎10-17-2003
Message 3 of 5 (271 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: 785
Registered: ‎02-25-2013
Message 4 of 5 (261 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


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

Valued Contributor
andred
Posts: 89
Registered: ‎10-17-2003
Message 5 of 5 (251 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é

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.