The tilde character represents the root of the web site. It automatically
starts you at the base folder.
So for example, if your folder structure was: c:\inetpub\wwwroot\mysite
And inside of the site you had the folders:
pages
images
Normally if you were in the pages folder and needed to access an image you
would have to use "..":
<img src="../images/myimage.gif">
Of course if you had another folder inside of pages and you were in a file
there you'd need two sets of "..":
<img src="../../images/myimage.gif">
But using the tilde you automatically start at the root directory and don't
need to know how far back in the directory structure any folder is:
<img src="~/images/myimage.gif">
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"suzy" <su**@spam.com> wrote in message
news:fa******************@news-binary.blueyonder.co.uk...
i have seen examples where the ~ character is used in the web.config file
when storing directories.
eg: ~/files/data.xml
what does that character mean?