Can I hyperlink a FILE?

G

George

Am using Outlook XP (Outlook 2002). When using the notes section in
CALENDAR, I wondered if there's a way to create a (hot) hyperlink to a FILE,
like the way you can put a fast
"click on" hyperlink to a web page...

For instance, I can enter on 7/8/2004 a Calendar entry that says "Check eBay
for new items" and I can put in the notes section a link like
http://www.ebay.com so all I have to do is click on it and to to the web
page. Having said that...

Is there also a way to put in the notes section of Calendar something to
click on and instantly get a FILE like...
c:\documents and settings\John Doe\Documents\AdList.doc

Thanks,
George
 
S

StargateFanFromWork

George said:
Am using Outlook XP (Outlook 2002). When using the notes section in
CALENDAR, I wondered if there's a way to create a (hot) hyperlink to a FILE,
like the way you can put a fast
"click on" hyperlink to a web page...

For instance, I can enter on 7/8/2004 a Calendar entry that says "Check eBay
for new items" and I can put in the notes section a link like
http://www.ebay.com so all I have to do is click on it and to to the web
page. Having said that...

Is there also a way to put in the notes section of Calendar something to
click on and instantly get a FILE like...
c:\documents and settings\John Doe\Documents\AdList.doc

Thanks,
George

If I may?

Yes, there is. You type in FILE:/// and the name of the doct, but in 8.3
format vs LFN (long filename).

I don't know how others get the 8.3 format of a name, but I have a freeware
shell extension (i.e., a program that adds a feature to Windows) that when I
right-click on the filename, I get it in the short 8.3.

To give an example:

A file called COMMON.XLS on this machine here in the office is found here -
C:\Program Files\Microsoft Office\Office\Library\COMMON.XLS
That's in LFN format.

If I go back to that filename and right-click on it to get the "short path"
or the short DOS path, though I don't mention it by name, the first program
brings back this -
C:\PROGRA~1\MICROS~2\Office\Library\COMMON.XLS

So when I must reference a file to work on and I use the scheduler or tasks
to bring up the link at a certain time, I use the file:/// format with 8.3,
like this -
file:///C:\PROGRA~1\MICROS~2\Office\Library\COMMON.XLS.
Instant clickability!

If there is another way to get the 8.3 name that is "better" to promote
here, hopefully someone will provide it. I don't know of any other way.
The pathname is just a right-click away with this method, but not everyone
likes to dl apps to enhance their OS. (p.s., I still have to use my shell
extensions with XP. They still haven't made the enhancements that 3 of
these give my Win98SE).

Good luck!
 
G

George

Thanks,

I tried the file://c:\list.txt concept, but it didn't work when there was
a SPACE in the path, and many paths in WinXP seem to have them...

Here's basically the path I've got:
File://c:\Documents and Settings\John Doe\My Documents\2004\MSWord\list.txt

But the hyperlink (blue colored) stops as soon as it encounters the first
space just after the word "documents"... so it ends up an invalid hyperlink

Any ideas?

Thanks,
George
 
J

Jamelia

Use will have to put an " before and after the link to make it work with spaces in the path.

Jamelia


Thanks,

I tried the file://c:\list.txt concept, but it didn't work when there was
a SPACE in the path, and many paths in WinXP seem to have them...

Here's basically the path I've got:
File://c:\Documents and Settings\John Doe\My Documents\2004\MSWord\list.txt

But the hyperlink (blue colored) stops as soon as it encounters the first
space just after the word "documents"... so it ends up an invalid hyperlink

Any ideas?

Thanks,
George
 
G

George

I tried the quote before and after, and it works (or at least turns blue)
HERE after I hit <return>, but not in notes section of a calendar entry in
OUTLOOK

"file://c:\documents and settings\John Doe\Documents\AdList.doc"

Any ideas appreciated

Thanks,
George
 
J

Jamelia

I discovered another way of doing it.
Go to Insert | Object --> Choose "Create from File" and browse for the file. Mark both Link and Display As Icon.

Hope this will help.

Jamelia


I tried the quote before and after, and it works (or at least turns blue)
HERE after I hit <return>, but not in notes section of a calendar entry in
OUTLOOK

"file://c:\documents and settings\John Doe\Documents\AdList.doc"

Any ideas appreciated

Thanks,
George
 
G

George

Thanks, your method works great... Go to Insert | Object --> Choose "Create
from File" and browse for the file. Mark both Link and Display As Icon.

I'd still like to know if theres a way to "activate" with a hotlink a "typed
out" long path and filename like this one that has spaces in it..
c:\documents and settings\John Doe\Documents\AdList.doc
 
J

Jamelia

I found the answer in Microsoft Office Outlook Help :)

If the Internet address includes spaces, or Chinese, Japanese, or Korean characters, you must enclose the entire address in angle
brackets (<>). For example, <file://C:\My Documents\MyFile.doc>

Jamelia


Thanks, your method works great... Go to Insert | Object --> Choose "Create
from File" and browse for the file. Mark both Link and Display As Icon.

I'd still like to know if theres a way to "activate" with a hotlink a "typed
out" long path and filename like this one that has spaces in it..
c:\documents and settings\John Doe\Documents\AdList.doc
 
B

Ben M. Schorr, MVP-OneNote

Thanks, your method works great... Go to Insert | Object --> Choose
"Create from File" and browse for the file. Mark both Link and Display As Icon.

I'd still like to know if theres a way to "activate" with a hotlink a
"typed out" long path and filename like this one that has spaces in it..
c:\documents and settings\John Doe\Documents\AdList.doc

Have you tried enclosing that filename in quotes or brackets (<>)?
 
K

Ken Slovak - [MVP - Outlook]

Or one could use %20 in place of any space character. That's easy using a
Replace function.
 
S

StargateFanFromWork

That's _exactly_ why I use the 8.3 format, as mentioned in my post. I tried
all the tricks to get the LFNs to work. They don't.

8.3 does.

So unless someone has a procedure that _does_ do the trick, I'm sticking
with using the DOS shorter name format.

Cheers!
 
S

StargateFanFromWork

Jamelia said:
I found the answer in Microsoft Office Outlook Help :)

If the Internet address includes spaces, or Chinese, Japanese, or Korean
characters, you must enclose the entire address in angle
brackets (<>). For example, <file://C:\My Documents\MyFile.doc>

EXCELLENT! That did the trick!

I have two shell extensions anyway, one copies pathname in LFN and one that
copies in 8.3, so now I can choose whichever I happen to prefer on any given
day! <g>

Thanks!
 
Top