Home All Groups Group Topic Archive Search About

Q: copy with permission

Author
25 Mar 2005 1:15 PM
JIM.H.
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.

Author
25 Mar 2005 4:54 PM
Doug Sherman [MVP]
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.
>
Are all your drivers up to date? click for free checkup

Author
25 Mar 2005 6:02 PM
JIM.H.
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
:: /B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree
SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /W:n :: Wait time between retries
:: /LOG :: Output log file
:: /NFL :: No file logging
:: /NDL :: No dir logging
ROBOCOPY %_source% %_dest% %_what% %_options%


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.
> >
>
>
>

Bookmark and Share