{"id":609,"date":"2021-09-03T20:02:50","date_gmt":"2021-09-03T20:02:50","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/windows-7-need-a-batch-file-to-remove-empty-lines-8211-html-2"},"modified":"2021-09-27T19:38:27","modified_gmt":"2021-09-27T19:38:27","slug":"windows-7-need-a-batch-file-to-remove-empty-lines-8211-html-2","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/windows-7\/need-a-batch-file-to-remove-empty-lines\/8211.html","title":{"rendered":"Need a batch file to remove empty lines"},"content":{"rendered":"<td>\n<p>Hi Can any one help me here, i have a text file<\/p>\n<p>30-05-2011 08:45:20                                                             <\/p>\n<p>41                                                                      <br \/>50                                                                   <br \/>498                                                                      <br \/>243                                                                     <br \/>991                                                                      <br \/>78                                                           <br \/>236                                                                   <br \/>38                                                                      <br \/>38                                                                      <br \/>420                                                                      <br \/>859                                                                  <br \/>233                                                                 <br \/>616                                                                      <br \/>43                                                           <br \/>591                                                                      <br \/>991                                                                      <br \/>591                                                                      <br \/>11                                                                     <br \/>129                                                                      <br \/>10                                                                      <br \/>341                                                                     <br \/>541                                                                      <br \/>85                                                                 <br \/>143                                                                      <\/p>\n<p>272985                                                                      <\/p>\n<p>17537                                                                      <br \/>69                                                                 <br \/>78                                                         <br \/>236                                                                   <br \/>243                                                                <br \/>85                                                                 <br \/>302                                                              <\/p>\n<p>like this , i need to remove all empty lines from here . i tried this option already.<\/p>\n<p>for \/f &#8220;tokens=* delims= &#8221; %%a in (C:logDEVolap.log) do echo %%a&gt;&gt;DEVOLAP.txt<\/p>\n<p>still it didnt work, it may be because of trailing spaces, can anyone help me plzzzzzzzzzzzzzzzzzzzzzzz.<\/p>\n<\/td>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"inline_featured_image":false,"iawp_total_views":12},"question-category":[],"question_tags":[],"class_list":["post-609","question","type-question","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/609","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=609"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=609"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=609"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}