link to folder

Posted on 2005-03-31
Medium Priority
Last Modified: 2010-04-03
How can I create a link to a folder within Dreamweaver? I can do it with MS word.

Regards KJC
Question by:kjcduffy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2

Expert Comment

ID: 13670743
HI kjcduffy,
what is it you are trying to do?
Jay Eire
LVL 18

Expert Comment

ID: 13670776
click on the link button in the properties after selecting the text you want to turn into a link, and then browse to the file you want to link to


Author Comment

ID: 13671137
No. I do not want to link to a file but a folder containing files.
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 18

Expert Comment

ID: 13672000
I don't think that's possible in a browser setting - if you need to view contents of a folder on your web site, I'm pretty sure there is a way of returning doc names from php...


Expert Comment

ID: 13673121
What server side language are you using?
LVL 10

Expert Comment

ID: 13673748

As suggested above, we can give a more precise answer if you tell us a bit more about what your project is, and what you're trying to do. I'll try to cover the main points here:

1 - You're making a local HTML page to use on your own computer (and not using a server or anything so complex), and want to link to a folder that's also local. In this case, let's use a couple of examples.

C:\foo\page.htm = page with the link

C:\bar\   = folder you want to open

So the link could be in these formats:

file:///C:/bar/              = absolute path
../bar/                         = relative path

These will open a folder view in Internet Exploder or Mozilla/firefox. Only IE will give a full Windows Explorer-style folder view though; do it in Mozilla Firefox and the files in the folder are just shown as hyperlinks.

2 - You're putting the HTML page onto a web server, and want to open a folder that's also on the website. This is a bit hit'n'miss, as web servers tend to be configured _not_ to allow folder-views. If it is allowed, you'll need to ensure that the folder doesn't have a file with a name like index.htm in it. This is because web servers also have a name (or set of names) that will be shown by default if you try to view the folder. That's why you type 'www.somesite.com' in your browser, and end up at a page like 'http://www.somesite.com/index.htm'. Other common 'default' names include

Default.asp (...I'm sure you get the idea)

Anyway, if it's possible to do this on your server, you could simply use a relative path again. Just to explain the relative path language which I've already used above, the part '../' is shorthand for 'the parent of this folder', and can be repeated as needed. So if your page with the link is at


and you want to link to


then you can use the line above (absolute path), or this relative path:


Whew! Hope that makes things a little clearer.
LVL 10

Accepted Solution

Havin_it earned 2000 total points
ID: 13673770
Oh yeah, forgot:

3 - The page is on the web and the folder is local. Use the absolute path from (1).

4 - The page is local and the folder is on the web. Use the absolute path from (2), and consider the constraints mentioned in (2) for online folders.

Author Comment

ID: 13745031
Thank you all for the comments. I'm sorry for the delay. I have had to put the project on hold for a while. Thanks again.
Regards kjc
LVL 10

Expert Comment

ID: 13745109
No probs - did get the results you wanted?

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question