Click here to Skip to main content
15,887,304 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,i am writting a c# based software.i need to get an event when user do the right click in windows on a file or group of files and choose cut,copy or paste...the event must have information about the origin directory and the destination directory and the name of file....please give an step by step guide about it...what topics i must read?do you have any code for it?give me a clue

What I have tried:

**************************************************************
Posted
Updated 19-Jan-19 5:20am

1 solution

AFAIK, you can't. You could possibly hook into Explorer - c# - How can I hook into the explorer directory calls in windows to determine when a new directory is opened? - Stack Overflow[^] - but I don't think it'll do exactly what you want, and I suspect it won't be trivial for even that.

And remember, you don't have to open Windows Explorer to cut or copy files, you can do that from the standard file open dialog for example.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900