Solved

Robocopy and Hidden Files

Posted on 2008-06-12
2
6,311 Views
Last Modified: 2011-12-19
I ran the following robocopy command on a Windows 2003 server to copy files over to another Win 2003 Server.

Robocopy \\x-server-01\d$ \\y-server-01\backup

The process runs fine, but the folders that are copied over now have the hidden attribute.  Basically I want to robocopy the entire d: of x-server-01 to a shared folder called backup on y-server-01.  Why is Robocopy bring over the folders with the hidden attribute.  What can I do to have the files come over unhidden.

Please Help.  Thank you,
0
Comment
Question by:CCLFG
2 Comments
 
LVL 11

Accepted Solution

by:
CynepMeH earned 125 total points
ID: 21774528
folders may inherit the attribute from a "parent" folder. to bring them in. Here's the switch you need:
       /A+:[RASHNT] :: add the given Attributes to copied files.
       /A-:[RASHNT] :: remove the given Attributes from copied files.
       
0
 

Expert Comment

by:Franz03118993
ID: 37308183
I had much the same issue, and the Accepted Solution worked for me.  

As an alternative, I'm now using the RichCopy tool, which is a free utility available from Microsoft (Google "download RichCopy").  It provides a GUI, and a number of other advantages.  There's a Wikipedia article describing its feature set.

Another alternative is RoboCopy GUI, also released by a Microsoft developer.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question