Share definitions are not stored with the filesystem.
Share definitions are stored in the registry, under
hklm\system\currentcontrolset\services\lanmanserver\shares.
If you want to move the underlying storage of a share from one location to
another, you can edit the path to the share in the registry. (Standard
you-can-really-mess-up-your-computer-if-you-do-this disclaimer applies. I'd
advocate a system state backup at the least.)
As Alex suggests, use a tool such as robocopy to copy the files and retain
security permissions.
-Matt
"Dali" <(E-Mail Removed)> wrote in message
news:04a501c3dcc4$e0fb6b60$(E-Mail Removed)...
> I am trying to copy few folders from one drive to
> another.
>
> Anybody know how to copy folders so that the shares setup
> get copied to the new drive.
>
> For instance, the folder call "dali" is shared as "test"
> and I want to move the "dali" folder from 'C' to 'D' such
> a way that on "D" drive the doali folder get copied and
> shared as "test" and permission setup is still there.
>
> Thanks
> Dali
|