{"id":112,"date":"2021-09-03T01:59:06","date_gmt":"2021-09-03T01:59:06","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/dos-batch-file-command-15753-html"},"modified":"2021-09-03T03:05:48","modified_gmt":"2021-09-03T03:05:48","slug":"dos-batch-file-command-15753-html","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/dos\/batch-file-command\/15753.html","title":{"rendered":"Batch file command"},"content":{"rendered":"<p>I&#8217;m writing a Batch file that copies a 695 meg file from the CD to the C: drive (checks to see if the entire file actually coppied) then prompts the user to unsert the next CD to copy the next file. The only trouble I&#8217;m having is how to (Check to see if the entire file actually coppied)&#8230; I need something in the batch file that compares the size of two files, and if they are the same, then it exits with errorlevel=0, and if not, errorlevel=1. I greatly appriciate any help anyone can give me on this!! Thank&#8217;s in advance, 1Tech<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","meta":{"inline_featured_image":false,"iawp_total_views":3},"question-category":[55],"question_tags":[],"class_list":["post-112","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=112"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=112"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=112"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}