Solved

Robocopy and Hidden Files

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
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…
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now