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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now