{"id":9953,"date":"2021-12-05T00:36:26","date_gmt":"2021-12-05T00:36:26","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=9953"},"modified":"2021-12-05T00:36:46","modified_gmt":"2021-12-05T00:36:46","slug":"solved-findstr-is-working-in-cmd-line-but-not-working-in-batch","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/findstr-is-working-in-cmd-line-but-not-working-in-batch\/29551.html","title":{"rendered":"Solved Findstr Is Working In CMD Line But Not Working In Batch"},"content":{"rendered":"<p>Good Morning!!<\/p>\n<p>Can anyone help me out for below issue ?<\/p>\n<p>The below Findstr command is working fine when i run in command line but it is not working when i run as a batch script.<\/p>\n<p>FINDSTR \/M \/C:&#8221;Error&#8221; %OutputFolder%\\FB1_Out.txt &gt; Err.txt<\/p>\n<p>The output of the command is : Name of the filename.<\/p>\n<p align=\"right\"><span style=\"font-size: xx-small;\"><i>message edited by suhailabbas<\/i><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":17},"question-category":[55],"question_tags":[],"class_list":["post-9953","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\/9953","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=9953"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=9953"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=9953"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=9953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}