Login | Register | FAQ
Anonymous

hyperlink to folder

+ Post a reply

6 posts Page 1 of 1


hyperlink to folder

by khanf » Thu Jan 16, 2014 6:19 pm

Hi,

In a windows environment, I'm trying to setup an intranet site link, which links to their folders named by their windows usernames. I'm trying to set it up so they have access to their own folder

<a href="\\contoso\users\%username%">User U Drive</a>

However this works, this link takes them to the root where all the other directories can be seen.
<a href="\\contoso\users">User U Drive</a>

I'd really appreciate any input that may be useful
User avatar

khanf

  • Posts: 4
  • Joined: Thu Jan 16, 2014 4:30 pm

Re: hyperlink to folder

by XainPro » Thu Jan 16, 2014 8:14 pm

Where this link leads them to ?

<a href="\\contoso\users\%username%">User U Drive</a>

i think it's correct !
or you can map the network drive of their folder on their computer and add link to that drive :)
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: hyperlink to folder

by khanf » Thu Jan 16, 2014 9:37 pm

Well it's not just for one person, it is a multiuser environment.

What it does is, it loads and IE page with \\contoso\users\%username% in the URL, however when i hit go with that in the URL it does what it is supposed to, instead of just opening a windows explorer window like it should and it does if i just do \\contoso\users but this is the root.
User avatar

khanf

  • Posts: 4
  • Joined: Thu Jan 16, 2014 4:30 pm

Re: hyperlink to folder

by XainPro » Fri Jan 17, 2014 1:16 pm

This cannot be done for security reasons. It is deliberately prevented.

it will work on internet explorer like this
<a href="file:///contoso/users/%username%">User U Drive</a>

but i am not sure about it :)
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: hyperlink to folder

by khanf » Fri Jan 17, 2014 3:11 pm

Nope doesn't work. Its a bit closer if you add a couple more // after file. but then again you have to hit go on the browser. Had already tried this.
User avatar

khanf

  • Posts: 4
  • Joined: Thu Jan 16, 2014 4:30 pm

Re: hyperlink to folder

by Albert4 » Mon Mar 10, 2014 5:43 am

Thanks for the post!
User avatar

Albert4

  • Posts: 1
  • Joined: Mon Mar 10, 2014 5:15 am


+ Post a reply

Page 1 of 1