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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlink in email not working

Status
Not open for further replies.

Webkins

Programmer
Joined
Dec 11, 2008
Messages
118
Location
US
Here is the hyperlink contained in my MSSql2000 stored procedure which creates the automated email and link:

<a href="C:\WINDOWS\System32\mstsc.exe /console">Click Here For Console Connection</a>

The email error error says it cannot find the file. The problem is with the /console switch. Without the text /console it works just fine. What am I doing wrong.

In the Outlook 2007 email error message the text path appears as C:\WINDOWS\System32\mstsc.exe\console

Thank you for your help
 
Is it becuase you need to HTML encode the " /console"?

Something like: mstsc.exe%20%2fconsole

I think %2f is "/" you may have to check...
 
I have been trying for hours with all different variations of this code with no luck:

SET @Text8 = '<a href=c:\windows\system32\mstsc.exe%20%2Fconsole">Click Here For Action Log</a>'

The path appears as: c:\windows\system32\mstsc.exe%20%2Fconsole

Is this correct the correct usage of the html encoding ?
Thank you
 
It might have just been a typo when typed it in here but it should read:

Code:
SET @Text8 = '<a href="c:\windows\system32\mstsc.exe%20%2Fconsole">Click Here For Action Log</a>'

If that does not work, then I'm afraid I can not help :( maybe try and find a more email/html orientated forum. Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top