esgaroth Posted June 26, 2008 Posted June 26, 2008 I have a script using subinacl and robocopy to take ownership of files and copy them to another location. This usually works fine except when the current owner of the file is not known. Should subinacl have any problems setting ownership in this case? Here is the script I am using:subinacl /errorlog=error.log /subdirectories "%SOURCE%/*.*" setowner="Administrators" grant=Administrators=Frobocopy "%SOURCE%" "%DEST%" /copyall /zb /w:0 /r:10 /a-:sh /s /xd "temporary internet files" /xf *.dll *.sys *.ocx
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now