Skip to content Skip to sidebar Skip to footer

How Can I Open A Windows Explorer Window From Javascript?

I own a local PHP point of Sale, using wampp as my web-server (Win7). What I'm looking for is to find a way to open the Flash Drive E as we normally do by visiting My Computer - &g

Solution 1:

You could allow the user to navigate their filesystem from the browser using:

<inputtype="file" />​

You can't specify a default location nor can the browser open it automatically, however.

Solution 2:

window.open("file:///" + yourLocalOrNetworkPath);

Post a Comment for "How Can I Open A Windows Explorer Window From Javascript?"