PC Review


Reply
Thread Tools Rate Thread

Copy Files from one drive to another

 
 
Dali
Guest
Posts: n/a
 
      17th Jan 2004
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
 
Reply With Quote
 
 
 
 
Alex
Guest
Posts: n/a
 
      17th Jan 2004
use robocopy to move the files with ACLs. moving the shares isn't
possible in this way. make your live easier in futire and only create
shares with same dir names. then you are able to script this, too. for
e.g. if you have 10.000 userdirs in a subdir you are able to share all
of them with the same name as the dir with a simple "for" and net share
or subinacl within seconds.


Alex
 
Reply With Quote
 
Matthew Mucker [MSFT]
Guest
Posts: n/a
 
      17th Jan 2004
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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Internet Explorer 0 22nd Apr 2011 10:08 AM
Some files on drive won't copy because windows things drive is unformatted The Old Fart Windows XP Help 1 10th Oct 2007 01:20 AM
Vista drive has problem, want to copy files to new drive, HOW?? =?Utf-8?B?RG9jQmFya2xleQ==?= Windows Vista Security 0 5th Oct 2007 02:52 PM
cannot copy files from a thumb drive to the hard drive? =?Utf-8?B?U3RldmU=?= Windows XP Help 1 5th Nov 2004 11:57 PM
bought new hard drive need to copy all files to new drive Kim Miculinich Windows XP General 2 25th Sep 2003 04:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:27 AM.