Is there a C# code to paste Shortcuts from the Clipboard?

  • Thread starter Thread starter Jo Srm
  • Start date Start date
J

Jo Srm

Guest
Hope you are well!

Using: Visual Studio 2017, WIN FORM, C#.

I am using buttons along with codes like the ones below to Copy, Paste or Cut Files/Folders:

For copying selected Folders or Files:

SendKeys.Send("^{c}");

For Pasting from clipboard to a path:

SendKeys.Send("^{v}");

For cutting selected Folders or Files:

SendKeys.Send("^{x}");

All these work well and are simple to implement.

I have looked and I am not able to find in anything to paste a shortcut from the clipboard just like File Explorer:

1617522.jpg

Any suggestions is appreciated.

Regards,
Regards

Continue reading...
 
Back
Top