File.Copy() to admin share

  • Thread starter Thread starter John Grandy
  • Start date Start date
J

John Grandy

I perform

File.Copy("\\machine1\c$\dir1\file1.txt","\\machine2\c$\dir1\file1.txt",true)

file1.txt shows up on machine2 with the "Read Only" attribute set

Does anyone know how to prevent this from happening?
 
Back
Top