Take folder and file path (at the same time) with Electron

Asked

Viewed 294 times

0

Good morning guys. I wonder if you have how to get the path of files and folders (at the same time) using Electron. I am using 'dialog.showOpenDialog()', but it returns either just folders or only files, I need it to return both.

1 answer

0

In the documentation mentions that it is not possible to select files and directories at the same time.

Note: On Windows and Linux an open dialog can not be Both a file selector and a directory selector, so if you set properties to ['openFile', 'openDirectory'] on These Platforms, a directory selector will be Shown.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.