Anybody know how to change the owner of a directory or a file in VB.
I have to copy a structure or lets say a file to a new location but when i do that the new file get my ownership and i have to set it to the real owner because of disk space. I have about 1 g of file to move like that so it's important to reset the owner to the original.
I've try those function:
The owner is always my ownership, i don't want to set the owner for each file manually