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

Email hyperlink with command line switch not working

Status
Not open for further replies.

Webkins

Programmer
Dec 11, 2008
118
US
Here is the email code hyperlink contained in my MSSql2000 stored procedure which creates and sends an automated email:

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

The email hyperlink error error says it cannot find the file. The problem is with the /console switch. Without the text /console it works just fine. I have tried using the html encoding method as shown here with no success either. What am I doing wrong ?

Set @Text8 = '<a href="C:\WINDOWS\System32\mstsc.exe%20%2fconsole">Click Here For Console Connection</a>'

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

Email program is Outlook 2007. Thank you for any suggestions.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top