{"id":9886,"date":"2021-12-03T09:14:29","date_gmt":"2021-12-03T09:14:29","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=9886"},"modified":"2021-12-03T09:15:22","modified_gmt":"2021-12-03T09:15:22","slug":"batch-file-to-add-line-to-top-of-data","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/windows-xp\/batch-file-to-add-line-to-top-of-data\/182888.html","title":{"rendered":"Batch File To Add Line To Top Of Data"},"content":{"rendered":"<p>Hello!<\/p>\n<p>Using batch commands, I&#8217;d like to know how to add line to top and bottom of data in a file. Thanks!!!<\/p>\n<p>For example, the original data is:<\/p>\n<p>12345<br \/>\n54321<br \/>\n22222<br \/>\n33333<\/p>\n<p>And I&#8217;d like it to look like this:<\/p>\n<p>***New top line***<\/p>\n<p>12345<br \/>\n54321<br \/>\n22222<br \/>\n33333<\/p>\n<p>***New bottom line***<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":8},"question-category":[76],"question_tags":[],"class_list":["post-9886","question","type-question","status-publish","hentry","question-category-windows-xp"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/9886","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=9886"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=9886"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=9886"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=9886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}