How I can get the fullname of the GetBaseIndex() symbol?

How I can get the fullname() of the GetBaseIndex() symbol ?

Another question is that is there any methods I can quickly go to a sector/industry folder when I know the symbol's sector number.

SetForeign( GetBaseIndex() );
gbname = FullName();

GebaseIndex symbol and its data have to exist in data base.

A faster method is recently added GetFnDataForeign

fname = GetFnDataForeign( "FullName" , GetBaseIndex() ); 

Thx reply , but I think your command take a little mistake

fname = GetFnDataForeign( "FullName",GetBaseIndex() );