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
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

621 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