Hello Everyone,
How is it possible to copy files from a remote computer to a local computer using wmi. The remote computer folder is not shared. i was able to connect to it but dont know how to copy files from a directory other than "c:\\". Actually i need to copy the files from a directory in "e:\\". waiting for your valuable replies.Thanks in advance
renjith
Copy Files from a remote computer using Wmi????
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Master BillaRank #2,229 · 630 reputationPosted Sep 16, 2009, 6:38 AM EDT
Can you try with this way
File.Copy(@"c:\myfile.txt",@"\\machinename\c$\myfile.txt");
thank you