homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
Forum Library, Charter, Moderators: bill

Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10) Forum

Spaces in path

 11:52 pm on Feb 25, 2007 (gmt 0)

Hey. I often need to email the location of a document to a colleague. The problem is that often these paths have spaces in them.
Example: \\server\publicfolder\FolderOne\Folder Two\Folder Three
I'm not able to rename these folders (part of the global server at work).
How do I mail this through to someone and make sure that they can get to the document without any problems?
Currently they get an error: Cannot find file "\\server\publicfolder\FolderOne\Folder' Make sure the path or Internet address is correct.
Assistance with this would be greatly appreciated.



 12:43 am on Feb 26, 2007 (gmt 0)

Welcome to WebmasterWorld sashark.

What are you using for mail? I'm assuming that your mail program (or the recipients) simply isn't making the entire path a link. There's not much you can do to control that within the text body.

An alternative might be to make a shortcut link on your Windows desktop. Then attach that file to the e-mail message. The file will have the extension .lnk. The problem is that your e-mail and virus software may not like this file type.

I find the simplest way to handle this is to put the entire path on its own line, or paragraph in the e-mail. Then I clearly explain that the entire path must be copied and pasted into Windows Explorer.


 1:06 am on Feb 26, 2007 (gmt 0)

Hey Bill. Thank you for your quick post. Appreciated. Yes, as you've guessed the extension .lnk doesn't come through the anti-virus.
I'll have to go with pasting the entire path on its own line and making it clear that the entire path has to be copied and pasted into Windows Explorer. I was hoping there might have been some fancy way around this, but sometimes the siplest way is still the best way!


 10:43 am on Feb 26, 2007 (gmt 0)

Assuming that you can send html messages, you can still create a link thus.
<a href=
'"path"'>click here</a>

Note that you use single quotes to wrap the href attribute and double quotes to wrap the file path.

I haven't tested this, but it should work.



 11:14 pm on Feb 26, 2007 (gmt 0)

<\\server\publicfolder\FolderOne\Folder Two\Folder Three>
enclosing them with the <> works like a charm
Thanks everyone


 1:16 am on Feb 27, 2007 (gmt 0)

That's a new one for me. I tested this out with Outlook 2003, and it does work!

<\\server\publicfolder\FolderOne\Folder Two\Folder Three>

That makes the entire link click-able. Will this work with other mail clients as well?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved