Reference Document!!!

I need a macro where it can Map the file location forreference document.

Say we have 10 folders under the drive M:\D\SOLIDWORKS.

Any help will be deeply appreciated.

SolidworksApi macros