![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Copy directory structure with permissions intact and shares Hi, What is the best way to copy a directory structure with permissions intact? Also, can we use the same method with shares? I know I can start with: dir -r | ?{$_.psiscontainer -eq $true} Thanks, |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Copy directory structure with permissions intact and shares Frank wrote: > Hi, > > What is the best way to copy a directory structure with permissions intact? > Also, can we use the same method with shares? > > I know I can start with: dir -r | ?{$_.psiscontainer -eq $true} > > Thanks, > > If you want it done quickly and with minimal fuss, I'd just use Robocopy with the /Sec argument. -- Jeffery Hicks SAPIEN Technologies - Scripting, Simplified. blog: http://blog.SAPIEN.com Community: http://www.scriptinganswers.com Training: http://www.ScriptingTraining.com Books: http://www.SAPIENPress.com Editor: http://www.primalscript.com Tools: http://www.scriptingoutpost.com "Those who forget to script it are doomed to repeat it." |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| copy permissions | jlavell | General Discussion | 1 | 07-21-2008 02:23 PM |
| Extreamly slow copy from XP shares! | JS | Vista networking & sharing | 1 | 10-12-2007 08:01 AM |
| How to copy file to top level directory | Siegfried Heintze | Vista General | 5 | 08-02-2007 02:28 PM |
| Copy NTFS permissions | BMC | PowerShell | 1 | 08-01-2007 02:02 PM |
| File permissions in the Program Files directory | kevincc | Vista account administration | 3 | 05-02-2007 12:36 PM |