Solved

Send link to File via Email

Posted on 2008-10-07
6
1,059 Views
Last Modified: 2012-05-05
I am looking for a tool wichs give me the option to send a link to a file when right clicking on it. Is there anything like the send to... option in the context menu?

My users keep sending each other files via Exchange, producing large mailboxes. I need a simple way for them to send links to the files.
0
Comment
Question by:TRITEC-kuen
6 Comments
 
LVL 4

Expert Comment

by:Chris James
ID: 22660216
Would it be possible to send a shortcut to the file instead of the actual file?
0
 
LVL 6

Expert Comment

by:Grizzly072000
ID: 22661474
You could install Send To Toys 2.5 (Free at http://gabrieleponti.com/software/).
It allows you to define a folder to send a file or a shortcut to the file. The shortcut feature is not as direct as the file, though...
The destination folder could be a share on the network. Even if the users send files, it will free your mailboxes.
0
 
LVL 6

Accepted Solution

by:
Grizzly072000 earned 250 total points
ID: 22661533
Update: Pressing CTRL+SHIFT while using SendTo will send a link to and not the file.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 6

Expert Comment

by:Grizzly072000
ID: 22661549
Update: The above trick works with Mail Recipient, too. However, you'll have to make sure the link is accessible to the recipient....
0
 
LVL 38

Assisted Solution

by:Shift-3
Shift-3 earned 250 total points
ID: 22663011
Paste the script below into a text file with a .vbs extension.  Create a shortcut to it named Email Link To File and place the shortcut in %userprofile%\SendTo.  This will allow the user to right-click any file or folder, go to Send To, and select Email Link To File.  Outlook will open a new email message containing a hyperlink to the file.  An advantage of this method is that it works even if .lnk attachments are blocked.

To mass-deploy it you could create a shortcut pointing to %userprofile%\scriptname.vbs and then use a logon script to copy the script file to %userprofile% and the shortcut to %userprofile%\SendTo.


Const olMailItem = 0
Const olFolderInbox = 6
 
If WScript.Arguments.Count = 0 Then
    WScript.Quit
End If
 
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
 
Set colItems = objWMIService.ExecQuery _
    ("Select * From Win32_Process Where Name = 'outlook.exe'")
 
If colItems.Count = 0 Then
    Set objOutlook = CreateObject("Outlook.Application")
    Set objNamespace = objOutlook.GetNamespace("MAPI")
    Set objFolder = objNamespace.GetDefaultFolder(olFolderInbox)
    objFolder.Display
End If
 
strFile = WScript.Arguments.Item(0)
 
Set objOutlook = CreateObject("Outlook.Application")
Set objItem = objOutlook.CreateItem(olMailItem)
objItem.HTMLBody = "<A HREF=" & Chr(34) & "file://" & strFile & Chr(34) & ">" & strFile & "</A>"
objItem.Display

Open in new window

0
 
LVL 2

Author Closing Comment

by:TRITEC-kuen
ID: 31503872
Great! I didn´t knew about the CTRL+Shift feature already implemented by MS. But with the script mass-deployed to the desktops every user can use this feature intuitively.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In-place Upgrading Dirsync to Azure AD Connect
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question