JS implements Open folder Dialog Box

approximate demand: a button , click to open folder specified by (ps: is not opened with file , but similar to clicking on computer, Open folder )

Mar.10,2021

camouflage an input type=file,
browser that does not have permission to open the explorer.
electron has corresponding support
https://electronjs.org/docs/a.


windowsnode

    .
  1. transparent input [type= "file"] over the button
  2. When the
  3. button is clicked click a input [type= "file"]

if you want to select a folder, you can probably only use flash, at this stage. After all, input file only supports selecting files, not folders.

Menu