{"id":44873,"date":"2015-01-20T07:00:00","date_gmt":"2015-01-20T22:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2015\/01\/20\/why-does-the-copy-dialog-give-me-the-incorrect-total-size-of-the-files-being-copied\/"},"modified":"2019-03-13T12:12:12","modified_gmt":"2019-03-13T19:12:12","slug":"20150120-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20150120-00\/?p=44873","title":{"rendered":"Why does the copy dialog give me the incorrect total size of the files being copied?"},"content":{"rendered":"<p>If you try to copy a bunch of files to a drive that doesn&#8217;t have enough available space, you get an error message like this: <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" STYLE=\"border: solid 3px #ebebeb;font-family: Segoe UI, sans-serif;width: 25em;color: black;background-color: white\">\n<tr>\n<td ALIGN=\"center\" VALIGN=\"middle\" BGCOLOR=\"#FBFBFB\" STYLE=\"padding: .5ex;font-size: 120%\">1 Interrupted Action<\/td>\n<\/tr>\n<tr>\n<td BGCOLOR=\"white\" STYLE=\"padding: 1ex 2ex\">\n<p>    There is not enough space on Removable Disk (D:).     You need an additional 1.50&nbsp;GB to copy these files.     <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td VALIGN=\"middle\" STYLE=\"font-size: 400%\">&#x25ad;&nbsp;<\/td>\n<td>Removable Disk (D:)<br>        Space free: 2.50&nbsp;GB<br>        Total size: 14.9&nbsp;GB<\/td>\n<\/tr>\n<tr>    <\/table>\n<table ALIGN=\"right\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td ALIGN=\"center\"><span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">Try again<\/span> <span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">Cancel<\/span>         <\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<\/table>\n<p>&#8220;But wait,&#8221; you say. &#8220;I&#8217;m only copying 5<a HREF=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2009\/06\/11\/9725386.aspx\">GB<\/a> of data. Why does it say <i>Total size: 14.9&nbsp;GB<\/i>?&#8221; <\/p>\n<p>This is a case of information being presented out of context and resulting in mass confusion. <\/p>\n<p>Suppose you saw the information like this: <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" STYLE=\"border: solid 3px #ebebeb;font-family: Segoe UI, sans-serif;width: 25em;color: black;background-color: white\">\n<tr>\n<td ALIGN=\"center\" VALIGN=\"middle\" BGCOLOR=\"#FBFBFB\" STYLE=\"padding: .5ex;font-size: 120%\">Computer<\/td>\n<\/tr>\n<tr>\n<td BGCOLOR=\"white\" STYLE=\"padding: 10px 20px\">\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" STYLE=\"width: 100%\">\n<tr>\n<td ROWSPAN=\"2\" NOWRAP>&#x25e2; Hard Disk Drives (1)&nbsp;<\/td>\n<td STYLE=\"border-bottom: solid 1px #E5E5E5\" WIDTH=\"100%\">&nbsp;         <\/p>\n<td>    <\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/table>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td VALIGN=\"middle\" STYLE=\"font-size: 400%\">&#x25ad;&nbsp;<\/td>\n<td>Windows (C:)<br>        Space free: 31.5&nbsp;GB<br>        Total size: 118&nbsp;GB<\/td>\n<\/tr>\n<\/table>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" STYLE=\"width: 100%\">\n<tr>\n<td ROWSPAN=\"2\" NOWRAP>&#x25e2; Drives with Removable Storage (1)&nbsp;<\/td>\n<td STYLE=\"border-bottom: solid 1px #E5E5E5\" WIDTH=\"100%\">&nbsp;         <\/p>\n<td>    <\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/table>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td VALIGN=\"middle\" STYLE=\"font-size: 400%\">&#x25ad;&nbsp;<\/td>\n<td>Removable Disk (D:)<br>        Space free: 2.50&nbsp;GB<br>        Total size: 14.9&nbsp;GB<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<\/table>\n<p>In this presentation, it is clear that <i>Total size<\/i> refers to the total size of the drive itself. <\/p>\n<p>So the original dialog is not saying that the total size of data being copied is 14.49&nbsp;GB. It&#8217;s trying to say that the total size of the removable disk is 14.9&nbsp;GB. <\/p>\n<p>Mind you, the presentation is very confusing since the information about the removable disk is presented without any introductory text. It&#8217;s just plopped there on the dialog without so much as a hello. <\/p>\n<p>I&#8217;m not sure how I would fix this. Maybe reordering the text elements would help. <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" STYLE=\"border: solid 3px #ebebeb;font-family: Segoe UI, sans-serif;width: 25em;color: black;background-color: white\">\n<tr>\n<td ALIGN=\"center\" VALIGN=\"middle\" BGCOLOR=\"#FBFBFB\" STYLE=\"padding: .5ex;font-size: 120%\">1 Interrupted Action<\/td>\n<\/tr>\n<tr>\n<td BGCOLOR=\"white\" STYLE=\"padding: 1ex 2ex\">\n<p>    There is not enough space on Removable Disk (D:).     <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td VALIGN=\"middle\" STYLE=\"font-size: 400%\">&#x25ad;&nbsp;<\/td>\n<td>Removable Disk (D:)<br>        Space free: 2.50&nbsp;GB<br>        Total size: 14.9&nbsp;GB<\/td>\n<\/tr>\n<\/table>\n<p>    You need an additional 1.50&nbsp;GB to copy these files.     <\/p>\n<table ALIGN=\"right\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td ALIGN=\"center\"><span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">Try again<\/span> <span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">Cancel<\/span>         <\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<\/table>\n<p>However, the design of the dialog may not allow the information tile to be inserted into the middle of the paragraph. It might be restricted to a layout where you can have text, followed by an information tile, followed by buttons. In that case, maybe it could go <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" STYLE=\"border: solid 3px #ebebeb;font-family: Segoe UI, sans-serif;width: 25em;color: black;background-color: white\">\n<tr>\n<td ALIGN=\"center\" VALIGN=\"middle\" BGCOLOR=\"#FBFBFB\" STYLE=\"padding: .5ex;font-size: 120%\">1 Interrupted Action<\/td>\n<\/tr>\n<tr>\n<td BGCOLOR=\"white\" STYLE=\"padding: 1ex 2ex\">\n<p>    You need an additional 1.50&nbsp;GB to copy these files.     There is not enough space on Removable Disk (D:).     <\/p>\n<table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td VALIGN=\"middle\" STYLE=\"font-size: 400%\">&#x25ad;&nbsp;<\/td>\n<td>Removable Disk (D:)<br>        Space free: 2.50&nbsp;GB<br>        Total size: 14.9&nbsp;GB<\/td>\n<\/tr>\n<\/table>\n<table ALIGN=\"right\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n<tr>\n<td ALIGN=\"center\"><span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">Try again<\/span> <span STYLE=\"border: solid 1px black;padding: 5px;width: 7em\">Cancel<\/span>         <\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<\/table>\n<p>But like I said, I&#8217;m not sure about this. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s all a misunderstanding.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-44873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>It&#8217;s all a misunderstanding.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/44873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=44873"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/44873\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=44873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=44873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=44873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}