Dragging & dropping files on to Outlook 2007 tasks

I can drag files onto my email, Outlook 2007, and it will show up as an attachment.  I used to be able to do this with tasks.  Now, when I drag a file to the outlook task bar, it saves it as shortcut.  Then, when I open up the task again, it gives me the error:  "Outlook blocked access to the following potentially unsafe attachments...."

I am looking for 1 of 2 solutions:
1) How can I change outlook so I can drag files to the task bar instead of shortcuts?

Or

2) How can I get rid of the above error for shortcuts?

Thanks in advance,
Blake Cabot
bcabot202Asked:
Who is Participating?
 
David LeeConnect With a Mentor Commented:
On a Vista machine the path is

c:\Users\<username>\AppData\Roaming\Microsoft\Windows\SendTo\

The Microsoft folder is hidden, so you'll have to configure Explorer to view hidden folders.
0
 
David LeeCommented:
Hi, Blake.

What do you mean by "outlook task bar"?  Are you referring to the To-Do Bar?  
0
 
bcabot202Author Commented:
yes that's correct. this is the bar below mail
11-9-2010-8-47-14-AM.png
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
David LeeCommented:
That's not the To-Do Bar, but I understand.  I just tested on my Outlook 2007 and it works fine.  What sort of file is it that you're dropping on the shortcut?
0
 
bcabot202Author Commented:
anything, a pdf, excel, etc.
0
 
David LeeCommented:
Do you get the same behavior if you create a task item then drag-n-drop a file into it?
0
 
bcabot202Author Commented:
nope, it works fine then.
0
 
David LeeCommented:
How about if you drag and drop to the Tasks folder?
0
 
bcabot202Author Commented:
then it copies in as a shortcut and does all the bad things described above.
0
 
David LeeCommented:
You said it did that for the task shortcut at the bottom of the left-hand window.  The shortcut isn't the folder.  Are you saying that it exhibits the same behavior for the Task folder which is up under your mailbox?
0
 
bcabot202Author Commented:
I am not explaining this well.

So if I open a task in Outlook, Cntl - Shift - k..... and drag a file from explorer it works.

If I drag a file to where it says "Tasks" below "Contacts", it copies in a shortcut.

Does this make sense to you?
0
 
David LeeCommented:
I understand.  The bars at the bottom of your screen shot are links.  They are not folders.  What I'm asking is what happens if you drop a file on the actual Tasks which is up in the white area of that screen shot where all the other folders are.
0
 
bcabot202Author Commented:
I see what you are talking about.  The white part only shows Mail Items, but if I copy to a folder there (ex. XML Docs) then it copies the file but not the shortcuts.
0
 
David LeeCommented:
Click the little folder icon in the lower right-hand corner of that pane and it will show the other folder types (i.e. not just mail folders).
0
 
bcabot202Author Commented:
Thanks, but then it copies in as a shortcut
0
 
David LeeCommented:
I've not seen this behavior before and don't have any suggestions for how to fix it.  What I can offer is a workaround using a simple bit of scripting to add a new selection to Windows' "Send To" menu.  If you're interested, then I can post the code and instructions.
0
 
bcabot202Author Commented:
ok pls post
0
 
David LeeCommented:
Ok, here it is.  Follow these instructions to use it.

1.  Open Notepad.
2.  Copy the code and paste it into Notepad.
3.  Save the file in the "Send To" folder.  You can name the file whatever you want so long as the file name must end with .vbs.  I recommend something like "Outlook Task.vbs".

To use this

1.  Select one or more files
2.  Right-click, select Send To, select this script

An Outlook task should appear on screen with the files attached.
Dim objFSO, varArg, varPath, olkApp, olkSes, olkTsk
On Error Resume Next
If WScript.Arguments.Count > 0 Then
	Set objFSO = CreateObject("Scripting.FileSystemObject")
	Set olkApp = GetObject(,"Outlook.Application")
	If TypeName(olkApp) = "Nothing" Then
		Set olkApp = CreateObject("Outlook.Application")
		Set olkSes = olkApp.GetNamespace("MAPI")
		olkSes.Logon olkApp.DefaultProfileName
	End If
	Set olkTsk = olkApp.CreateItem(3)
	With olkTsk
		For Each varArg In WScript.Arguments
			varPath = objFSO.GetAbsolutePathName(varArg)
			olkTsk.Attachments.Add varPath
		Next
		.Display
	End With
End If
On Error Goto 0
Set objFSO = Nothing
Set olkApp = Nothing
Set olkSes = Nothing
Set olkMsg = Nothing

Open in new window

0
 
bcabot202Author Commented:
where is the send to folder?
0
 
David LeeCommented:
What version of Windows are you using?
0
 
bcabot202Author Commented:
vista...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.