Getting VST folder path on Windows

Dan Nigrin's icon

I want to get the path to the VST plugins folder on the Windows platform. I know that the path is specified in the VstPluginsPath string value under the Registry key HKLMSoftwareVST . I also know how to get this info using mxj and Java, but I want to avoid that if possible.

Can I do it using standard Max objects without resorting to Java or Javascript? If necessary, I would be willing to use a 3rd party external...

thanks!
Dan

dd1984's icon

you can try using the [relativepath] or [absolutepath] objects.

Dan Nigrin's icon

Thanks, but those just massage paths that one already knows. I want to find out that default VST plugin path that is stored in the Windows Registry, without any user intervention.

Dan