Connexion | Inscription | FAQ
Anonymous

hyperlink to folder

+ Publier une réponse

6 messages Page 1 sur 1


hyperlink to folder

par khanf » Jeu 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
Avatar de l’utilisateur

khanf

  • Messages: 4
  • Inscrit le: Jeu Jan 16, 2014 4:30 pm

Re: hyperlink to folder

par XainPro » Jeu 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 :)
Avatar de l’utilisateur

XainPro

  • Messages: 3933
  • Inscrit le: Ven Fév 17, 2012 8:10 pm

Re: hyperlink to folder

par khanf » Jeu 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.
Avatar de l’utilisateur

khanf

  • Messages: 4
  • Inscrit le: Jeu Jan 16, 2014 4:30 pm

Re: hyperlink to folder

par XainPro » Ven 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 :)
Avatar de l’utilisateur

XainPro

  • Messages: 3933
  • Inscrit le: Ven Fév 17, 2012 8:10 pm

Re: hyperlink to folder

par khanf » Ven 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.
Avatar de l’utilisateur

khanf

  • Messages: 4
  • Inscrit le: Jeu Jan 16, 2014 4:30 pm

Re: hyperlink to folder

par Albert4 » Lun Mars 10, 2014 5:43 am

Thanks for the post!
Avatar de l’utilisateur

Albert4

  • Messages: 1
  • Inscrit le: Lun Mars 10, 2014 5:15 am


+ Publier une réponse

Page 1 sur 1