Solved

Folder Structure hidden after Robocopy

Posted on 2014-11-04
8
170 Views
Last Modified: 2014-11-21
Morning all,
  Little strange one here. I am using Robocopy to move files between a Server Hosted in a Data center to local server and then into Azure (don't ask..... due to routing i cant go direct).

DC Server > Office Server > Azure Server

On running the following command robocopy \\10.10.10.1\d$ C:\ClientData /e /ZB /R:2 /W:2 /SEC All the data is copied to the local drive but the folder is not Visable, however if i browse to c:\clientdata the folder will open.

if i then run the next copy job (from the AzureServer) robocopy \\10.10.1.1\C$\ClientData E:\ClientData /e /ZB /R:2 /W:2 /SEC

The drive space is used and again if i type the folder address in it shows up BUT it is not visable using the Computer and browsing to the E drive. I have checked the defaults for the View and hidden files & Folders in case that's the issue.

I may have missed a Robocopy Switch or the original 2011 SBS server may have a GPO hiding something....

Any ideas will be much appreciated,
0
Comment
Question by:ncomper
8 Comments
 
LVL 5

Assisted Solution

by:Abdul Khadja Alaoudine
Abdul Khadja Alaoudine earned 167 total points
ID: 40421278
Sometimes Robocopy may not like using path \\10.10.10.1\d$. Try sharing the source folder, then mount that as network drive, for eg. G:. Then run robocopy "G:\<folder name>" "C:\ClientData" /E /MIR /R:2 /W:2 /COPYALL /NP /LOG+:<Log file name.log>
0
 
LVL 9

Assisted Solution

by:dlb6597
dlb6597 earned 166 total points
ID: 40421480
what do you see if you open a command prompt and do a directory of these locations?

dir c:\clientdata /ah
or
dir c:\clientdata /as
0
 
LVL 5

Author Comment

by:ncomper
ID: 40421992
when doing an /AH


11/02/2014  04:15 PM    <DIR>          .
11/02/2014  04:15 PM    <DIR>          ..
06/25/2014  11:42 AM    <DIR>          $RECYCLE.BIN
11/01/2014  04:20 AM    <DIR>          System Volume Information
               0 File(s)              0 bytes
               4 Dir(s)  36,813,324,288 bytes free

when completing  /as

11/02/2014  04:15 PM    <DIR>          .
11/02/2014  04:15 PM    <DIR>          ..
06/25/2014  11:42 AM    <DIR>          $RECYCLE.BIN
11/01/2014  04:20 AM    <DIR>          System Volume Information
               0 File(s)              0 bytes
               4 Dir(s)  36,813,324,288 bytes free
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 5

Author Comment

by:ncomper
ID: 40421995
i will also try the alternate Robocopy switches this evening.
0
 
LVL 9

Expert Comment

by:dlb6597
ID: 40422026
the only thing I can thing  of is that you have access based enumeration enabled? I'm not aware of any robocopy switches that will produce these symptoms.
0
 
LVL 5

Author Comment

by:ncomper
ID: 40423713
i can now see that the folders is checked to be hidden:

Hidden Box Ticked
whats the best way to unhide this?
0
 
LVL 24

Accepted Solution

by:
Lionel MM earned 167 total points
ID: 40423722
attrib c:\foldername -h
if you want to do sun directories and files too then try this
attrib -h c:\foldername /s /d
0
 
LVL 5

Author Closing Comment

by:ncomper
ID: 40457146
The file was copied as a system folder..... as per the above showing these in the View resolved the issue
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

770 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