<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Email File Links Within Local Networks</title>
	<atom:link href="http://www.pcmech.com/article/email-file-links-within-local-networks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pcmech.com/article/email-file-links-within-local-networks/</link>
	<description>Helping Normal People Get Their Geek On</description>
	<lastBuildDate>Mon, 23 Nov 2009 01:37:34 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mAximili@no</title>
		<link>http://www.pcmech.com/article/email-file-links-within-local-networks/comment-page-1/#comment-23068</link>
		<dc:creator>mAximili@no</dc:creator>
		<pubDate>Tue, 07 Apr 2009 06:34:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-23068</guid>
		<description>Yes, good point I&#039;m donating this to help Corporate Office NUCKLEHEADS! - This will create a new context menu item in Send To  &gt; . When you use it an email will be composed with a link in the body using your default email program.
 
Using this.. - just follow these steps
1. Highlight a file or group of files then 2. click Send To &gt; Mail Recipient (as shortcut). This will open a new email msg and past the links into the body of the email.

Installing this - just follow these steps 
1. copy everything below this line 2. open notepad 3. paste into notepad 4. save the file as sendtomailshortcut.vbs 5. double click the .vbs file you just saved.

&#039;...........................................................START COPYING HERE ..............................................
&#039;-- Name:  SendToMailShortcuts.vbs
&#039;-- Author: Maximiliano Taverna
&#039;-- Version 1


&#039;ADD SENDTO PATH MENU
&#039;----------------------------------------------------------
Set WshShell = WScript.CreateObject(&quot;WScript.Shell&quot;)
Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
strSendTo = WshShell.SpecialFolders(&quot;SendTo&quot;) &amp; &quot;\&quot;
strShortcutFileName = strSendTo &amp; &quot;\&quot; &amp; &quot;Mail Recipient (as Shortcut)&quot; &amp; &quot;.lnk&quot;



&#039;COPY ALL SELECTED FILES
&#039;----------------------------------------------------------
Set objArgs = WScript.Arguments
If WScript.Arguments.Count &gt;  0 Then

	For I = 0 to objArgs.Count - 1




&#039;CONVERT SPACES IN FILENAMES INTO PATHS AND ADD LINE RETURN
&#039;----------------------------------------------------------
strPS = Replace(WScript.Arguments.Item(I),&quot; &quot;, &quot;%25&quot;&amp; &quot;20&quot; )
		strLinks =  strLinks &amp; &quot;file://&quot; &amp; strPS &amp; &quot;%0A&quot;
	Next




&#039;CONFIGURATION FOR RECIPIENT EMAIL AND SUBJECT
&#039;----------------------------------------------------------
	strRecipientEMail = &quot;&quot;
	strMailSubject = &quot;&quot;

	strMailSubject = Replace(strMailSubject,&quot; &quot;,&quot;%20&quot;)
	On Error Resume Next




&#039;CREATE A NEW EMAIL MSG 
&#039;----------------------------------------------------------
	WshShell.run &quot;mailto:&quot; &amp; strRecipientEMail &amp; &quot;?Subject=&quot; &amp; strMailSubject &amp; &quot;&amp;body=&quot; &amp; strLinks

	If Err  0 Then
		Select Case Err.Number
			Case 70
	   			If MsgBox (&quot;Stop! too many files selected. Do you want to create a file instead?&quot;,vbYesNo) = vbYes Then
					strLinks =  Replace(strLinks,&quot;%20&quot;,&quot; &quot;)
					strLinks =  Replace(strLinks,&quot;%0A&quot;,vbCrLf)
					txtFilePaths= WshShell.ExpandEnvironmentStrings(&quot;%TEMP%&quot;) &amp; &quot;\FilePaths.txt&quot;
					Set b = objFSO.CreateTextFile (txtFilePaths,true)
					b.WriteLine strLinks
					b.close
					WshShell.run &quot;notepad.exe &quot; &amp; txtFilePaths
				End If

			Case Else
				MsgBox &quot;Error &quot; &amp; Err.Number &amp; &quot; occurred.&quot;
		
		End Select
	End If
	On Error Goto 0	
Else


&#039;INSTALL
&#039;----------------------------------------------------------

RunInstall

Sub RunInstall
	Set oShellLink = WshShell.CreateShortcut(strShortcutFileName)
	oShellLink.TargetPath = WScript.ScriptFullName
	oShellLink.IconLocation = &quot;sendmail.dll,-2001&quot;
	oShellLink.Save
End Sub

End if</description>
		<content:encoded><![CDATA[<p>Yes, good point I&#8217;m donating this to help Corporate Office NUCKLEHEADS! &#8211; This will create a new context menu item in Send To  &gt; . When you use it an email will be composed with a link in the body using your default email program.</p>
<p>Using this.. &#8211; just follow these steps<br />
1. Highlight a file or group of files then 2. click Send To &gt; Mail Recipient (as shortcut). This will open a new email msg and past the links into the body of the email.</p>
<p>Installing this &#8211; just follow these steps<br />
1. copy everything below this line 2. open notepad 3. paste into notepad 4. save the file as sendtomailshortcut.vbs 5. double click the .vbs file you just saved.</p>
<p>&#8216;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..START COPYING HERE &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
&#8216;&#8211; Name:  SendToMailShortcuts.vbs<br />
&#8216;&#8211; Author: Maximiliano Taverna<br />
&#8216;&#8211; Version 1</p>
<p>&#8216;ADD SENDTO PATH MENU<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Set WshShell = WScript.CreateObject(&#8221;WScript.Shell&#8221;)<br />
Set objFSO = CreateObject(&#8221;Scripting.FileSystemObject&#8221;)<br />
strSendTo = WshShell.SpecialFolders(&#8221;SendTo&#8221;) &amp; &#8220;\&#8221;<br />
strShortcutFileName = strSendTo &amp; &#8220;\&#8221; &amp; &#8220;Mail Recipient (as Shortcut)&#8221; &amp; &#8220;.lnk&#8221;</p>
<p>&#8216;COPY ALL SELECTED FILES<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Set objArgs = WScript.Arguments<br />
If WScript.Arguments.Count &gt;  0 Then</p>
<p>	For I = 0 to objArgs.Count &#8211; 1</p>
<p>&#8216;CONVERT SPACES IN FILENAMES INTO PATHS AND ADD LINE RETURN<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
strPS = Replace(WScript.Arguments.Item(I),&#8221; &#8220;, &#8220;%25&#8243;&amp; &#8220;20&#8243; )<br />
		strLinks =  strLinks &amp; &#8220;file://&#8221; &amp; strPS &amp; &#8220;%0A&#8221;<br />
	Next</p>
<p>&#8216;CONFIGURATION FOR RECIPIENT EMAIL AND SUBJECT<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
	strRecipientEMail = &#8220;&#8221;<br />
	strMailSubject = &#8220;&#8221;</p>
<p>	strMailSubject = Replace(strMailSubject,&#8221; &#8220;,&#8221;%20&#8243;)<br />
	On Error Resume Next</p>
<p>&#8216;CREATE A NEW EMAIL MSG<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
	WshShell.run &#8220;mailto:&#8221; &amp; strRecipientEMail &amp; &#8220;?Subject=&#8221; &amp; strMailSubject &amp; &#8220;&amp;body=&#8221; &amp; strLinks</p>
<p>	If Err  0 Then<br />
		Select Case Err.Number<br />
			Case 70<br />
	   			If MsgBox (&#8221;Stop! too many files selected. Do you want to create a file instead?&#8221;,vbYesNo) = vbYes Then<br />
					strLinks =  Replace(strLinks,&#8221;%20&#8243;,&#8221; &#8220;)<br />
					strLinks =  Replace(strLinks,&#8221;%0A&#8221;,vbCrLf)<br />
					txtFilePaths= WshShell.ExpandEnvironmentStrings(&#8221;%TEMP%&#8221;) &amp; &#8220;\FilePaths.txt&#8221;<br />
					Set b = objFSO.CreateTextFile (txtFilePaths,true)<br />
					b.WriteLine strLinks<br />
					b.close<br />
					WshShell.run &#8220;notepad.exe &#8221; &amp; txtFilePaths<br />
				End If</p>
<p>			Case Else<br />
				MsgBox &#8220;Error &#8221; &amp; Err.Number &amp; &#8221; occurred.&#8221;</p>
<p>		End Select<br />
	End If<br />
	On Error Goto 0<br />
Else</p>
<p>&#8216;INSTALL<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>RunInstall</p>
<p>Sub RunInstall<br />
	Set oShellLink = WshShell.CreateShortcut(strShortcutFileName)<br />
	oShellLink.TargetPath = WScript.ScriptFullName<br />
	oShellLink.IconLocation = &#8220;sendmail.dll,-2001&#8243;<br />
	oShellLink.Save<br />
End Sub</p>
<p>End if</p>
]]></content:encoded>
	</item>
</channel>
</rss>
