Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Robocopy and Hidden Files

Posted on 2008-06-12
2
Medium Priority
?
6,369 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 375 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

721 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