This is the text of a report I have that exports to Excel all repository objects. One of the columns is the content path. You will need to remove the reference to the style sheet but this should work for you! Hope that helps.
-*TABLE FILE WF_REPOSOBJ
-*PRINT *
-*END
-*-EXIT
SET BYDISPLAY=ON
JOIN
WF_CONTENT_REVS.WF_CONTENT_REVS.OBJ_HANDLE IN WF_CONTENT_REVS TO UNIQUE
WF_NLSOBJ.WF_NLSOBJ.OBJ_HANDLE IN WF_NLSOBJ TAG J2 AS J2
END
JOIN
WF_CONTENT_REVS.WF_CONTENT_REVS.OBJ_HANDLE IN WF_CONTENT_REVS TO UNIQUE
WF_ITEM.WF_ITEM.HANDLE IN WF_ITEM TAG J3 AS J3
END
JOIN
WF_CONTENT_REVS.WF_CONTENT_REVS.OBJ_HANDLE IN WF_CONTENT_REVS TO UNIQUE
WF_REPOSOBJ.WF_REPOSOBJ.HANDLE IN WF_REPOSOBJ TAG J4 AS J4
END
?FF WF_CONTENT_REVS
DEFINE FILE WF_CONTENT_REVS
ITEMTYPE/A24=DECODE WF_REPOSOBJ.WF_REPOSOBJ.OBJTYPE( 102 'Rpt Object FEX' 103 'Stylesheet' 106 'Help HTM' 107 'CSS' 109 'FEX' 110 'HTML' 113 'RC Schedule in WF8' 117 'URL' 4 OTHER 0 'Static web component' 301 'User Entry' 115 'RC Dist List' 118 'RC Library output');
VERTBAR/I2=POSIT(WF_CONTENT_REVS.WF_CONTENT_REVS.OBJ_HANDLE, 255, '|', 1, VERTBAR);
ReposName/A50=SUBSTR(255, WF_CONTENT_REVS.WF_CONTENT_REVS.OBJ_HANDLE, 1, (VERTBAR -1), 50, ReposName);
LReposName/I2=ARGLEN(50,ReposName, LReposName);
-*LObjDesc/I2=ARGLEN(50, OBJDESC, LObjDesc);
-*ObjFriendlyPath/A100=STRREP(100,PRT_PATH, LReposName, ReposName, LObjDesc, OBJDESC, 1000, ObjFriendlyPath);
END
TABLE FILE WF_CONTENT_REVS
PRINT
WF_CONTENT_REVS.WF_CONTENT_REVS.OBJ_HANDLE AS 'OBJHANDLE - If non-cryptic, then item was from migrated WF 7'
WF_CONTENT_REVS.WF_CONTENT_REVS.ReposName AS 'ReposName - If blank, was created in WF 8'
J4.WF_REPOSOBJ.LASTMODBY AS 'Last Modified'
J4.WF_REPOSOBJ.LASTMODON AS 'Last Modified Date/Time'
J4.WF_REPOSOBJ.ITEMTYPE
BY J4.WF_REPOSOBJ.PRT_PATH AS 'PRT_PATH - Full IBFS Path'
BY J2.WF_NLSOBJ.OBJDESC AS 'OBJDESC - Description'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/WFC/Repository/Common/Branding/np_gphc_theme.sty,
$
TYPE=REPORT,
COLUMN=N4,
WRAP=6.000000,
$
TYPE=REPORT,
COLUMN=N3,
WRAP=6.000000,
$
TYPE=REPORT,
COLUMN=N1,
WRAP=6.000000,
$
ENDSTYLE
END
WebFOCUS 8.2, Server 2008 R2, SQL 2014 data warehouse