Making a list of what's phyically in a directory

does anyone have any idea of how I can create an agent that can actually scan through the directories via the admin client and output the content of those directories to a text or excel spread sheet? fyi: not using the information from the nab but what physically shows in the directory on the admin client. also NOT relying on the “catalog.nsf” either.

Subject: Show Directory?

If you are using the admin client you could execute a show directory. The output will pipe to the server log. The question then is can you code an agent to pull the info from the log to your spreadsheet.

Cheers