I am interested in implementing Windows SendTo functionality in a visual basic application.
If you ever have an item on a desktop you can
right click on it and and send it to a variety
of links such as:
This is done by launching the links found in the
windows SendTo directory with the appropriate files.
I have been able to find out what the links are in
the SendTo directory with the API call SHGetSpecialFolder
now I have a problem launching the link files.
These .LNK files must somehow have simulated a drag drop
operation onto them or some sort of ShellExecute(Ex)
command to make them work.
One example to simplify my problem here is:
If I have a shortcut to the floppy disk (A Drive)
anywhere , what API calls can I use to execute this .LNK
file to send "AutoExec.Bat" to the A drive.
(This is just an example, the link may do anything)
Please help !