We help IT Professionals succeed at work.
Get Started

Programmatically save files om Remote Desktop copied on local machine into clipboard?

2,283 Views
Last Modified: 2016-03-17
How can I programmatically save files to server-disk when Connected to Remote Desktop when the files are on local machine copied into the clipboard?

I don't mean "open Explorer and hit CTRL+V" or use \\tsclient\c....
When doing this locally I use OpenClipBoard, GetClipboardData and DragQueryFile... but this doesn't work when using it on Win10/2008R2 Remote desktop "server" when files are copied on local disk onto clipboard..

Any suggestions?
Last resort is finding a way to open Windows Explorer in a new directory and hitting CTRL+V/using API to paste it.. I'll take suggestions here too :)
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 27 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE