Export the registry Hive containing the locations?
HKEY_CURRENT_USER\Software\SolidWorks\SolidWorks 2008\ExtReferences
This will create a '.reg' file which can then be applied to anymachine.SolidworksApi macros

HKEY_CURRENT_USER\Software\SolidWorks\SolidWorks 2008\ExtReferences
This will create a '.reg' file which can then be applied to anymachine.SolidworksApi macros