{"id":14852,"date":"2021-12-17T10:21:21","date_gmt":"2021-12-17T10:21:21","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=14852"},"modified":"2021-12-17T10:21:43","modified_gmt":"2021-12-17T10:21:43","slug":"solved-generate-and-append-dxdiag-data-to-a-text-file","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/generate-and-append-dxdiag-data-to-a-text-file\/27381.html","title":{"rendered":"Solved Generate And Append Dxdiag Data To a Text File"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I need to generate a DxDiag report and then append it to an all encompassing report using one single bat file. But the script keeps giving me an error message that the file can not be found. To generate the dxdiag I&#8217;ve used:<\/p>\n<p>dxdiag \/t C:\\General\\Reports\\dxdiag.txt<\/p>\n<p>I have then used the type command to try to append the Dxdiag data into the report:<\/p>\n<p>type &#8220;C:\\General\\Reports\\dxdiag.txt&#8221; &gt;Fullreport.txt<\/p>\n<p>But it keeps telling me the file can not be found, even though I can see that the file is being generated by the first command in the specified path.<\/p>\n<p>Wondering if you could shed some light into this noobie&#8217;s confusion.<\/p>\n<p>Thanks in advanced!<\/p>\n<p>-sek\u00e3o<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":9},"question-category":[55],"question_tags":[],"class_list":["post-14852","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\/14852","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=14852"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=14852"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=14852"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=14852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}