Folder names to notepad

Hi, is it possible to get all folder names in the chosen folder transferred to a text document? Preferable with semicolons between them e.g.

folder1;floder2;folder3;

This will put your filenames into a simple .txt file:

CLIPBOARD COPYNAMES
Clipboard PASTE

This is more what you asked for:

GO FROMSEL
SELECT ALL
@dirsonly
CLIPBOARD COPYNAMES=nopaths
CLIPBOARD PASTE

For the semicolon part i hav no idea, sorry.