Getting folder names in a directory with JS

Hi,

I have done a lot of research about this and my conclusion is that it is impossible but I wanted to try my last chance by asking here.

I am working locally, not on a server. I have a folder that has multiple folders in it.

Example:

C:\myFolder\
C:\myFolder\Folder1\
C:\myFolder\Folder2\
C:\myFolder\Folder3\

I want to get the folder names (Folder1, Folder2, Folder3) in “myFolder” using Javascript. Is that possible? I need that because the number of folders in “myFolder” will be changing so I need a dynamical solution.

Thanks for all ideas.