Send To Menu from Windows, sending File Path [closed]

0

I'm developing an application and my idea is to put this application from the send to windows menu. I have already put the start of the Application la, but I can not get the file path.

Example: I have a pdf file on the Desktop the user will right-click on the "Send To" Menu it will select my application and I would have to receive the path of that file.

Looking at Some Application that has this functionality they use a code in the mapping of the application /sendto: Ex: Skype "C:\Program Files (x86)\Skype\Phone\Skype.exe" /sendto: , but I already put it this way and it did not work.

    
asked by anonymous 29.08.2017 / 15:02

1 answer

2

I ended up solving the problem. I was going to delete the post, but I think it might help someone,

Instead of creating a shortcut to run your program, you need to put the .EXE itself

Nowforyoutoreceivethefilepathinyourdesktopapplication,I'llputapostalink: Open Program with dragging file (PDF) and recovering the path again

    
29.08.2017 / 15:25