Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9128

How to copy Folder directory including Root volume folder on Windows?

$
0
0

I would like to copy Recursively the full C:\Test Folder with all subdirectories including the Test folder and the folders permisions. I tried using the following commands but it only copies the files:

Powershell:

`Get-ChildItem -Path -Recurse C:\Test | Copy-Item -Destination F:\ -Recurse -Container`

Robocopy:

robocopy C:\Test F:\ /s /e

Viewing all articles
Browse latest Browse all 9128

Trending Articles