file:///\ - can this work when there are spaces in the file path??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am programming in access to send off an automated email message via
outlook.

At the bottom of the email and want to provide a link to a file. (internal
company purpose)

file:///\INTRANET.Domain.COM\DFS-APAC\GROUP\\Sales
Briefcase\Compliance\Monitoring\Monitoring.mdb

As you can see the link will not work as there is a space in 'Sales
Briefcase' Unfortanelty I am not able to rename this directory. Is there a
way of could program this to accomodate the space so that the link will work?

Any other suggestions...

Bobm
 
It depends on what format message you're creating. If it's an HTML message and you're building an <a> tag, you'll need to replace spaces with %20. For plain text and RTF messages, you can try surrounding the entire URL with angle brackets <>.
 
Back
Top