Reputation: 59
I want to open a File Explorer from JavaScript. I tried using window.open("FolderPath"), it works fine but along with the file explorer it also opens a new web browser tab.
Is there a way to just open the File explorer?
Upvotes: 1
Views: 11356
Reputation: 419
In general, allowing javascript to run programs is a big no-no.
Upvotes: 1
Reputation: 276
well I don't have clear the question but I think that you can use a input with the type equals to file
<input type="file" id="someID" />
Upvotes: 0