Copy folder names

How to use buttons and scripts from this forum