I want to show a list of folder name!

Things I have tried

I want to show a list of folder name!

What I’m trying to do

I need a list of folders in a folder. For example, when there are folder A/folder B, folder C, and folder D, a list of folders B C D is required. If LIST and FROM are used, only the names of files in the corresponding folder can be viewed as a list.