Solved

Robocopy and Hidden Files

Posted on 2008-06-12
2
6,277 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now