Windows XP Folder Permissions

  • Thread starter Thread starter klumpy
  • Start date Start date
K

klumpy

I have set up a directory structure for a project and set varying permissions
for different subfolders. I would like to copy this directory structure for
each new project I set up, and to have the permissions remain with the new
copy. Simply "copy/paste""dragging and dropping" or ""dragging and dropping"
the directory structure doesn't copy the permissions. Is there a way to
easily copy these permissions?
 
"klumpy" <klumpy@discussions.microsoft.com> wrote in message
news:970F5C5C-6B4D-4946-9FCD-268404E135CA@microsoft.com...
>I have set up a directory structure for a project and set varying
>permissions
> for different subfolders. I would like to copy this directory structure
> for
> each new project I set up, and to have the permissions remain with the new
> copy. Simply "copy/paste""dragging and dropping" or ""dragging and
> dropping"
> the directory structure doesn't copy the permissions. Is there a way to
> easily copy these permissions?


You would have to use xcopy.exe from a Command Prompt. Here
is an example:

xcopy /s /e /t /o /y /c "d:\My Files\klumpy1" "d:\MyFiles\klumpy2\"

This single line command will copy the whole folder structure from
klumpy1 to klumpy2, including all permissions. The command can
be automated by placing it inside a batch file and getting it to prompt
you for a destination folder.
 
Back
Top