Ty44ler Posted April 9, 2010 Share Posted April 9, 2010 I'm trying to create a link on a page that opens a windows explorer folder. The folder is on a remote computer that will be on the local network. (only users on the network will be accessing the site) Can this be done? I've tried using the exec() command to open it using command prompt, but I can't get it to work. It could also be opened using the browser, but it always puts the http:// root in front of it. Ideas? Quote Link to comment Share on other sites More sharing options...
taquitosensei Posted April 9, 2010 Share Posted April 9, 2010 so you want a link that opens a windows explorer for a remote computer that is not the server and not the client? Quote Link to comment Share on other sites More sharing options...
Ty44ler Posted April 9, 2010 Author Share Posted April 9, 2010 Sorry about that. I may have stated that wrong. The windows explorer folder is located on the server. I just wanted it to open on the client machine which is on the same network as the server. Quote Link to comment Share on other sites More sharing options...
Ty44ler Posted April 12, 2010 Author Share Posted April 12, 2010 Bump for resolution pleeeease! Quote Link to comment Share on other sites More sharing options...
Ty44ler Posted April 12, 2010 Author Share Posted April 12, 2010 nevermind, I found it. Do you want to open a shared folder in Windows Explorer? You need to use a file: link, but there are caveats: * Internet Explorer will work if the link is a converted UNC path (file://server/share/folder/). * Firefox will work if the link is in its own mangled form using five slashes (file://///server/share/folder) and the user has disabled the security restriction on file: links in a page served over HTTP. Thankfully IE also accepts the mangled link form. * Opera, Safari and Chrome can not be convinced to open a file: link in a page served over HTTP. http://stackoverflow.com/questions/855614/what-are-the-ways-to-make-an-html-link-open-a-folder Seems so easy now... with the wrong search terms it seemed like it couldn't be done. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.