Solved

Robocopy and Hidden Files

Posted on 2008-06-12
2
6,356 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
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 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 …

626 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