I want some simple urls in my intranet website (for simple users?).
I want a link to a network share and found that I had to double up on the number of backslashes (url=\\\\servername\\sharename\\foldername;) why? Guess it might be a unix vs. windows thing.
Now my problem is I want url=My Documents; but the menu code always changes the link so that I cannot actually just get "My Documents" to appear in the browser URL.
How do I get 'My Documents' recognised as a file link???
Presumably there is some parsing of the url=xxx variable. what are these parsing rules and are they documented?
Cheers. James.
Simple url?
'My Documents' is not a URL. It would be something like...
The main problem here is that directory is on your local drive. Unless you're building a system that you plan on running just locally (i.e., not being published on a server), nobody will be able to get to that location. Or are you going to open up your system to the whole world...

I realize you said 'intranet', but that still implies opening up your system to outside users. Not a good idea at all.
Code: Select all
"C:\Documents and Settings\username.login_domain\My Documents"


I realize you said 'intranet', but that still implies opening up your system to outside users. Not a good idea at all.
John
Hi John,
I am running the website on an IIS web server. Not locally.
All users are internal staff who have a 'My Documents' which is redirected to a network server so that their 'My Documents' is backed up. Therefore every user has a My Documents which is specific to them. Yes it is roughly equivalent to the long link you mention, which could be a local directory or a network directory.
In Internet Explorer the URL 'My Documents' works fine so as far as IE is concerned this is a valid URL which IE knows what to do with. Equally valid for IE would be an URL such as 'H:\' which might be a mapped network drive or a local disk.
The menu can cope with a sharename such as \\\\server\\share\\folder. I've also found the menu can cope with a link to a shared folder such as url=file:///\\server\\share\\folder. but it doesn't seem able to cope with something like 'H:\' or 'My Documents' no matter how I write the syntax.
Is there any way I can make these simple IE URLs recognised?
James.
I am running the website on an IIS web server. Not locally.
All users are internal staff who have a 'My Documents' which is redirected to a network server so that their 'My Documents' is backed up. Therefore every user has a My Documents which is specific to them. Yes it is roughly equivalent to the long link you mention, which could be a local directory or a network directory.
In Internet Explorer the URL 'My Documents' works fine so as far as IE is concerned this is a valid URL which IE knows what to do with. Equally valid for IE would be an URL such as 'H:\' which might be a mapped network drive or a local disk.
The menu can cope with a sharename such as \\\\server\\share\\folder. I've also found the menu can cope with a link to a shared folder such as url=file:///\\server\\share\\folder. but it doesn't seem able to cope with something like 'H:\' or 'My Documents' no matter how I write the syntax.
Is there any way I can make these simple IE URLs recognised?
James.