{"id":40963,"date":"2021-02-05T22:29:44","date_gmt":"2021-02-05T22:29:44","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=40963"},"modified":"2021-02-05T22:29:45","modified_gmt":"2021-02-05T22:29:45","slug":"windows-command-prompt-output-redirect-to-file","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/windows-command-prompt-output-redirect-to-file\/","title":{"rendered":"Windows: command prompt output redirect to file"},"content":{"rendered":"\n<h2>Self-tutoring about Windows: the tutor mentions how to direct command prompt output to a file.<\/h2>\n<p>\nIn my experience, just entering the command, then &gt;&gt; outfile.txt will send the output to outfile.txt. For instance,\n<\/p\n<p style=\"font-family:monospace\">dir &gt;&gt; outfile.txt<\/p>\n<p>will send the output of the dir command to the file outfile.txt.<\/p>\n<p>I think &gt; will wipe the output file clean and write the current command&#8217;s output on top; &gt;&gt; will append the command&#8217;s output to whatever is already in the file.<\/p>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/www.windowscentral.com\/how-save-command-output-file-using-command-prompt-or-powershell\">windowscentral.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about Windows: the tutor mentions how to direct command prompt output to a file. In my experience, just entering the command, then &gt;&gt; outfile.txt will send the output to outfile.txt. For instance,<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2959],"tags":[],"class_list":["post-40963","post","type-post","status-publish","format-standard","hentry","category-command-prompt"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/40963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=40963"}],"version-history":[{"count":6,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/40963\/revisions"}],"predecessor-version":[{"id":40969,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/40963\/revisions\/40969"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=40963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=40963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=40963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}