LoadMacro search path

Hi,
I have a script for the ROOT CINT loading another macro with “.L”. I can’t find the complete path of this macro and I need to edit it. It’s not in $ROOTSYS/macros or something. Does gROOT/gSystem have a search path I can print?

Thanks for your help,
Matt

You can set the path in $ROOTSYS/etc/system.rootrc. see the lines

[code]# Path used to find macros.

Paths are different for Unix and Windows. The example shows the defaults

for all ROOT applications for either Unix or Windows.

Unix..Root.MacroPath: .:$(ROOTSYS)/macros:
WinNT.
.Root.MacroPath: .;$(ROOTSYS)/macros;
[/code]
and query its value via gEnv->GetValue

Rene