Retuirn folder contents output without full path

(imported topic written by SystemAdmin)

I am writing relevance to return all the folders in a specific path, however I would like my results to not show the full path itself.

q: folders of folder “C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications”

A: C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications\Adobe

A: C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications\Business Explorer

A: C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications\IBM Lotus Sametime Connect

A: C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications\iSeries Access V6R1

A: C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications\Microsoft Office

A: C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications\SAP Front End

A: C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications\Snagit 10

I want to drop the “C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications” from all the results.

I will be searching on here for answers, other ideas.

Thank you

(imported comment written by Lee Wei)

Try this:

q: names of folders of folder “C:\ProgramData\Microsoft\Windows\Start Menu\H-D Applications”

Lee Wei

(imported comment written by SystemAdmin)

Worked Splendidly. Thanks Lee! I knew I was close.