utopian — 2008-04-09T22:00:46-04:00 — #1
How do I create a link on a website that will open a specific folder on the local drive of the end user?
This is on a private website and each person visiting this website has the same folder structure on their computer. For example, each user will have C:\abc\def\. How do I make that folder open up on the users desktop from a website link?
I tried the full path: C:\abc\def
I also tried this: file:///c:\abc/def
Neither seem to work.
Thanks in advanced.
dan_schulz — 2008-04-09T23:16:10-04:00 — #2
file:///c:/abc/def/ should do it, but I'm not 100% certain. My question is why are you using a local file structure when you could set up a private server and then connect everyone to it?
davidtan — 2008-04-10T00:12:11-04:00 — #3
file:///c:\abc/def seems to work in my case
autisticcuckoo — 2008-04-10T01:23:53-04:00 — #4
You cannot have a link using the
file: protocol on a page served via the
http: protocol, for security reasons.
dan_schulz — 2008-04-10T11:34:48-04:00 — #5
Tommy, I think he said he was serving everything locally. (as in on the computer itself, not the server).
I could be wrong though (goes back to copying files for transfer to the family's home).
autisticcuckoo — 2008-04-10T12:21:17-04:00 — #6
If so, this shouldn't be a problem. But it's not the feeling I got from the original post:
utopian — 2008-04-10T12:25:29-04:00 — #7
Yeah, so basically, here is exactly what I am doing with this...
I am using Active Desktop on WinXP. I created a webpage that I'm using with Active Desktop to be an interactive wallpaper on a laptop. This webpage/wallpaper has buttons that link to different places. Some of the buttons link to websites, but I need some of the buttons to be able to open local folders on the laptop itself.
Here is a test page I put together: http://www.mastermindconsult.net/laptop/test1/adtest.html
I created a folder called "abc" in C:\ and a folder called "def" inside of "abc." So I have this folder path on my local computer C:\abc\def. Clicking on any of the links in my example do not open that folder, which is what I'm trying to do.
utopian — 2008-04-11T12:51:08-04:00 — #8
No one knows of a way to make this work?
ken_sharpe — 2008-04-11T15:15:49-04:00 — #9
I tried doing this at one point, it didn't work like I hoped it would. Are you sure this is your only option?
jimmyp — 2008-04-11T17:09:26-04:00 — #10
It's weird that it doesn't work... I would have thought that it would...
Here is an idea...
In the same directory where you have created the page make some shortcuts to the relevant places etc... The shortcuts are saved as .inc files so should be accessible through the site. But don't link to these shortcuts absolutely. Do it relatively so:
<a href="shortcuts/shortcut1.inc">Place 1</a>
utopian — 2008-04-12T15:44:51-04:00 — #11
What I was really trying/wanting to do was to be able to link to local folders from a remote web page. Linking to them via a local webpage that resides on the local computer works and that is what I am resorting to. I tried adding a .lnk to the end of the links and I added a shortcut folder and that worked, but it made another window pop up that you had to click on.
Thanks for everyone's help!!!