{"id":5201,"date":"2024-11-05T09:28:25","date_gmt":"2024-11-05T17:28:25","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=5201"},"modified":"2024-11-05T09:28:28","modified_gmt":"2024-11-05T17:28:28","slug":"how-to-fix-robocopy-directory-is-not-visible-on-the-destination-drive","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=5201","title":{"rendered":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive"},"content":{"rendered":"\n<p>When copying from the root directory of a drive to a\u00a0<em>folder<\/em>\u00a0(non-root directory on a different drive), this can happen.<br>RoboCopy may set the new directory to hidden, as it copies the system attribute of the root folder of the drive over to the new folder.<\/p>\n\n\n\n<p>You can prevent the new directory from becoming hidden by adding the\u00a0<code>\/A-:SH<\/code><\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<p><strong><em>Robocopy D:\\ C:\\D_backup \/A-:SH<\/em><\/strong><\/p>\n\n\n\n<p>However, if you already copied the directory without the \/A-:SH option, running the command below will fix the issue by unhiding the directory. For example:<\/p>\n\n\n\n<p><strong><em>attrib -h -s C:\\D_backup<\/em><\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Ref: <a href=\"https:\/\/superuser.com\/questions\/146125\/how-to-preserve-file-attributes-when-one-copies-files-in-windows\/1326224#1326224\">How to preserve file attributes when one copies files in Windows? &#8211; Super User<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When copying from the root directory of a drive to a\u00a0folder\u00a0(non-root directory on a different drive), this can happen.RoboCopy may set the new directory to hidden, as it copies the system attribute of the root folder of the drive over to the new folder. You can prevent the new directory from becoming hidden by adding <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=5201\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,14],"tags":[1826],"class_list":["post-5201","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-windows-7-8-10","tag-robocopy-directory-is-not-visible-on-the-destination-drive"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"When copying from the root directory of a drive to a folder (non-root directory on a different drive), this can happen.RoboCopy may set the new directory to hidden, as it copies the system attribute of the root folder of the drive over to the new folder. You can prevent the new directory from becoming hidden by adding\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Summa Lai\"\/>\n\t<meta name=\"keywords\" content=\"robocopy directory is not visible on the destination drive,microsoft family,windows 7\/8\/10\/11\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/SUMMALAI.COM\/?p=5201\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#article\",\"name\":\"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive | Summa Lai\",\"headline\":\"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive\",\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#articleImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"Summa Lai\"},\"datePublished\":\"2024-11-05T09:28:25-08:00\",\"dateModified\":\"2024-11-05T09:28:28-08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#webpage\"},\"articleSection\":\"Microsoft Family, Windows 7\\\/8\\\/10\\\/11, Robocopy Directory Is Not Visible on the Destination Drive\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"name\":\"Microsoft Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"position\":2,\"name\":\"Microsoft Family\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14#listItem\",\"name\":\"Windows 7\\\/8\\\/10\\\/11\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14#listItem\",\"position\":3,\"name\":\"Windows 7\\\/8\\\/10\\\/11\",\"item\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#listItem\",\"name\":\"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=10#listItem\",\"name\":\"Microsoft Family\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#listItem\",\"position\":4,\"name\":\"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?cat=14#listItem\",\"name\":\"Windows 7\\\/8\\\/10\\\/11\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\",\"name\":\"sladmin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#personImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"sladmin\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2\",\"name\":\"Summa Lai\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#authorImage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Summa_Logo-150x150.png\",\"width\":96,\"height\":96,\"caption\":\"Summa Lai\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#webpage\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201\",\"name\":\"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive | Summa Lai\",\"description\":\"When copying from the root directory of a drive to a folder (non-root directory on a different drive), this can happen.RoboCopy may set the new directory to hidden, as it copies the system attribute of the root folder of the drive over to the new folder. You can prevent the new directory from becoming hidden by adding\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?p=5201#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/?author=2#author\"},\"datePublished\":\"2024-11-05T09:28:25-08:00\",\"dateModified\":\"2024-11-05T09:28:28-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#website\",\"url\":\"https:\\\/\\\/SUMMALAI.COM\\\/\",\"name\":\"Summa Lai\",\"description\":\"Never Stop Learning, Building a Little Wiki...\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/SUMMALAI.COM\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive | Summa Lai","description":"When copying from the root directory of a drive to a folder (non-root directory on a different drive), this can happen.RoboCopy may set the new directory to hidden, as it copies the system attribute of the root folder of the drive over to the new folder. You can prevent the new directory from becoming hidden by adding","canonical_url":"https:\/\/SUMMALAI.COM\/?p=5201","robots":"max-image-preview:large","keywords":"robocopy directory is not visible on the destination drive,microsoft family,windows 7\/8\/10\/11","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/SUMMALAI.COM\/?p=5201#article","name":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive | Summa Lai","headline":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive","author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=5201#articleImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"Summa Lai"},"datePublished":"2024-11-05T09:28:25-08:00","dateModified":"2024-11-05T09:28:28-08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/SUMMALAI.COM\/?p=5201#webpage"},"isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/?p=5201#webpage"},"articleSection":"Microsoft Family, Windows 7\/8\/10\/11, Robocopy Directory Is Not Visible on the Destination Drive"},{"@type":"BreadcrumbList","@id":"https:\/\/SUMMALAI.COM\/?p=5201#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","position":1,"name":"Home","item":"https:\/\/SUMMALAI.COM","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","name":"Microsoft Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","position":2,"name":"Microsoft Family","item":"https:\/\/SUMMALAI.COM\/?cat=10","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=14#listItem","name":"Windows 7\/8\/10\/11"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=14#listItem","position":3,"name":"Windows 7\/8\/10\/11","item":"https:\/\/SUMMALAI.COM\/?cat=14","nextItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=5201#listItem","name":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive"},"previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=10#listItem","name":"Microsoft Family"}},{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?p=5201#listItem","position":4,"name":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive","previousItem":{"@type":"ListItem","@id":"https:\/\/SUMMALAI.COM\/?cat=14#listItem","name":"Windows 7\/8\/10\/11"}}]},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/#person","name":"sladmin","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=5201#personImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"sladmin"}},{"@type":"Person","@id":"https:\/\/SUMMALAI.COM\/?author=2#author","url":"https:\/\/SUMMALAI.COM\/?author=2","name":"Summa Lai","image":{"@type":"ImageObject","@id":"https:\/\/SUMMALAI.COM\/?p=5201#authorImage","url":"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2020\/05\/Summa_Logo-150x150.png","width":96,"height":96,"caption":"Summa Lai"}},{"@type":"WebPage","@id":"https:\/\/SUMMALAI.COM\/?p=5201#webpage","url":"https:\/\/SUMMALAI.COM\/?p=5201","name":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive | Summa Lai","description":"When copying from the root directory of a drive to a folder (non-root directory on a different drive), this can happen.RoboCopy may set the new directory to hidden, as it copies the system attribute of the root folder of the drive over to the new folder. You can prevent the new directory from becoming hidden by adding","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/SUMMALAI.COM\/#website"},"breadcrumb":{"@id":"https:\/\/SUMMALAI.COM\/?p=5201#breadcrumblist"},"author":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"creator":{"@id":"https:\/\/SUMMALAI.COM\/?author=2#author"},"datePublished":"2024-11-05T09:28:25-08:00","dateModified":"2024-11-05T09:28:28-08:00"},{"@type":"WebSite","@id":"https:\/\/SUMMALAI.COM\/#website","url":"https:\/\/SUMMALAI.COM\/","name":"Summa Lai","description":"Never Stop Learning, Building a Little Wiki...","inLanguage":"en-US","publisher":{"@id":"https:\/\/SUMMALAI.COM\/#person"}}]}},"aioseo_meta_data":{"post_id":"5201","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-11-05 17:19:31","updated":"2024-11-05 17:28:29","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=10\" title=\"Microsoft Family\">Microsoft Family<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/SUMMALAI.COM\/?cat=14\" title=\"Windows 7\/8\/10\/11\">Windows 7\/8\/10\/11<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Fix Robocopy: Directory Is Not Visible on the Destination Drive\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/SUMMALAI.COM"},{"label":"Microsoft Family","link":"https:\/\/SUMMALAI.COM\/?cat=10"},{"label":"Windows 7\/8\/10\/11","link":"https:\/\/SUMMALAI.COM\/?cat=14"},{"label":"How to Fix Robocopy: Directory Is Not Visible on the Destination Drive","link":"https:\/\/SUMMALAI.COM\/?p=5201"}],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/5201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5201"}],"version-history":[{"count":1,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/5201\/revisions"}],"predecessor-version":[{"id":5202,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/5201\/revisions\/5202"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}