Let’s assume you’re working in the training department of a firm, and need to send training materials to new recruits on a regular basis. The usual way is to right-click on the file, choose Send To, and click Mail Recipient. This attaches the file to the compose window in your mail client.
How about saving bandwidth in your local network by sending the target path of documents (residing in a network share), instead of attaching them to mail?
For this purpose, I wrote a script which adds the Mail Recipient (as Path) option to the Send To menu, which when clicked, opens the compose mail window and adds the target location of selected files and folders to the Body.
1. Download SendLinkToMail.zip
2. Unzip the archive and extract the file sendlinktomail.vbs to a permanent location.
3. Double-click sendlinktomail.vbs to run it.
4. When you see the following prompt, simply press ENTER:
The Mail Recipient (as Path) is now added to the Send To menu.
5. Open the location which contains documents that you want to email (as Path)
6. Select the files.
7. From the File menu, choose Send To and click Mail Recipient (as Path)
This opens your mail client, with the Subject and Body fields populated.
Note: Hyperlink is formed correctly as long as the path does not contain spaces.
Add a salutation, type your message, mention the To: address and send it.
To change the default Subject line and To: address, edit the script using Notepad and modify the variables in Line #28 and 29. For example:
strRecipientEMail = "[email protected]"
strMailSubject = "Training Documents"
To remove Mail Recipient (as Path) option from the Send To menu, re-run the script, type UNINSTALL and press ENTER. Then delete the file sendlinktomail.vbs manually.
This script works in all versions of Windows, including Windows 10.
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.