Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to add an item to the "Send To" context menu. The problem is that if I add an item there, let's say for example "C:\Users". When I drag the folder across Windows interprets that I want to copy the file in to that folder, but what I want is to create a shortcut on that folder, is there anyway to do that?

I know I can create a shortcut on desktop and the move it where I want. I'm just looking for a faster way.

share|improve this question
up vote 2 down vote accepted

This cannot be done with standard Windows functionality. A homemade solution is needed here.

Download Shortcut.zip and extract it to C:\Windows\system32. This program will allow us to create shortcuts.

Create a batchfile called 'sendToExample.cmd' with the following contents, don't forget to change 'targetfolder':

@echo off
:: change this to whatever you need
set targetfolder=d:\Temp
shortcut /f:"%targetfolder%\%~n1%~x1.lnk" /a:c /t:%1

Create a shortcut in your SendTo folder (%APPDATA%\Microsoft\Windows\SendTo) to this batch file.

You're done! Shortcuts will automagically be created!

share|improve this answer
    
Works perfectly. Thanks!!! I only edited "%~n1%~x1.lnk" to "%~n1.lnk", so the shortcut doesn`t create with the extension. – Gabriel May 5 '13 at 15:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .