Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

username for file

Status
Not open for further replies.

BettyGay

Programmer
Feb 23, 2005
12
US
I have a hyperlink to a file on a fileserver. In the path I need to add the username, How do I do this? I this is an elementary question but thanks in advance for your response.
 
Thank you, Yes that is what I meant. I don't have a password because the file share server uses nt authentication. I tried putting the username in like you told me but I still haven't got it to work yet.
 
Do you mean that you wish to browse to the current users directory? If so you probably want something along these lines:

\\fileserver\%username%

"%username%" will automatically be replaced with the login name of the current user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top