Notifications
Clear all
[Closed] how can you add new path to system paths?
Jul 23, 2009 1:01 pm
hello everybody,
I’m sure someone here bump into this problem before, but I found nothing about this in the forum
I want to configure all the users in my network to load plugins (DLL files) from specific server on the network by running a script on all these computers that will add the new system path to max, how can I do that?
I’ve been in max’s help and found a way to add new map / xref paths and a way to change the path of the userScripts dir (which I hesitate to change in case some of the users use it for their own needs), but when I get to the pluginPaths there’s only get but no set although max’s UI allow adding new plugins path manualy
what do you suggest I should do?
2 Replies
1 Reply
ini_file = if (maxversion())[1] < 12000 then "plugin.ini" else "plugin.userSettings.ini"
setINISetting (getdir #maxdata + ini_file) #directories "your name for the path" <path>