Windows Send To Menu by sending File Path

Asked

Viewed 45 times

0

I am Developing an Application and my idea is to put this application from the send to Windows menu. I already managed to put the start of the Application there, but I can’t get the file path.

Example: I have a pdf file on the Desktop the user will right click on the menu "Send To" 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 mapping the application /sendto: Ex: Skype "C:\Program Files (x86)\Skype\Phone\Skype.exe" /sendto:, but I’ve put it this way and it didn’t work.

1 answer

2

I managed to solve the problem. I was gonna delete the post, but I think it might help someone,

Instead of creating a shortcut to run your program, you need to put your own . EXE inserir a descrição da imagem aqui

Now for you to get the file path in your desktop application, I’ll put a post a link:Open Program with dragging file(PDF) and even recover the path

Browser other questions tagged

You are not signed in. Login or sign up in order to post.