Re: Setting Ownership rights on a file?
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Sat, 17 Feb 2007 07:53:37 +1100
"Nick Fletcher" <nick@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:7EB1149A-046A-41B6-B10B-DABE437C64D1@xxxxxxxxxxxxxxxx
I have the attached script ina batch file
echo ******* Copies suggestions from P:\ to secure********
xcopy "P:\My Suggestions\*.*" "\\SERVER23\Suggestions_MP\*.*"
exit
What I need to do following the copy is to change the Ownership rights on
the file in the batch file to a specific AD user or perhaps group.
Can anyone help with the syntax please?
--
Regards
Nick
Both subinacl.exe and fileacl.exe will do it. Subinacl.exe comes
with Windows. Fileacl.exe is easier to use and can be downloaded from here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=723f64ea-34f0-4e6d-9a72-004d35de4e64&displaylang=en
.
- Prev by Date: Re: Reallocate disk space
- Next by Date: Converting Dynamic Drives to Simple Without Losing Data
- Previous by thread: Re: Reallocate disk space
- Next by thread: Converting Dynamic Drives to Simple Without Losing Data
- Index(es):
Relevant Pages
|
Loading