|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Q: copy with permissionHello,
I just build a windows 2003 server and I need to copy all the files from a shared drive (shared on windows server 2000) to this servers’ local drive with without loosing the permissions settings. When I dry normal copy-paste, it reset all the permissions. Any idea? Thanks, Jim. Tryy robocopy in the Resource Kit Tools. You can get it here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en Doug Sherman MCSE, MCSA, MCP+I, MVP Show quoteHide quote "JIM.H." <J***@discussions.microsoft.com> wrote in message news:3D8389A4-E568-4CE1-834B-0DDD1E0E7F74@microsoft.com... > Hello, > I just build a windows 2003 server and I need to copy all the files from a > shared drive (shared on windows server 2000) to this servers' local drive > with without loosing the permissions settings. When I dry normal copy-paste, > it reset all the permissions. > Any idea? > Thanks, > Jim. > Thanks for the reply. I was working on that.
the following batch file does not work because of _source is not define correctly. Does RoboCopy.exe accept space in folder name? @ECHO OFF SETLOCAL SET _source=â€N:\Tmp\Data Reports\†SET _dest=C:\Tmp\Data Reports\ SET _what=/COPYALL /B /SEC /MIR :: /COPYALL :: COPY ALL file info SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL:: /B :: copy files in Backup mode. :: /SEC :: copy files with SECurity :: /MIR :: MIRror a directory tree :: /R:n :: number of Retries ROBOCOPY %_source% %_dest% %_what% %_options%:: /W:n :: Wait time between retries :: /LOG :: Output log file :: /NFL :: No file logging :: /NDL :: No dir logging Show quoteHide quote "Doug Sherman [MVP]" wrote: > Tryy robocopy in the Resource Kit Tools. You can get it here: > > http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en > > Doug Sherman > MCSE, MCSA, MCP+I, MVP > > "JIM.H." <J***@discussions.microsoft.com> wrote in message > news:3D8389A4-E568-4CE1-834B-0DDD1E0E7F74@microsoft.com... > > Hello, > > I just build a windows 2003 server and I need to copy all the files from a > > shared drive (shared on windows server 2000) to this servers' local drive > > with without loosing the permissions settings. When I dry normal > copy-paste, > > it reset all the permissions. > > Any idea? > > Thanks, > > Jim. > > > > >
Other interesting topics
disk caching
Reboot Speed Switching from workgroups to domain windows firewall WPA Security and Cert Services Windows Server 2003 - System Information not displayed correctly Restore point Branch Office Win2003 Licensing Question Connecting to Event Viewer from 2003 server WIN 2000AS to WIN 2003 Standard Upgrade problem |
|||||||||||||||||||||||