{"id":10923,"date":"2021-12-06T21:51:09","date_gmt":"2021-12-06T21:51:09","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=10923"},"modified":"2021-12-06T21:51:51","modified_gmt":"2021-12-06T21:51:51","slug":"edit-xml-using-a-bat-or-cmd-file","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/edit-xml-using-a-bat-or-cmd-file\/24503.html","title":{"rendered":"Edit Xml Using a Bat Or Cmd File"},"content":{"rendered":"<p>i have a word document that i need to edit a settings thats hidden<\/p>\n<p>so firstly i rename extension to .zip or .rar using cmd line<\/p>\n<p>extract<\/p>\n<p>this gives you the xml contents of the word document<\/p>\n<p>i then rename seetings.xml to settings.txt<\/p>\n<p>i then want to replace a unique filepath with in the settings.txt with a path thats has been made by user input before this process<\/p>\n<p>save rename, repack then rename etc<\/p>\n<p>im having trouble searching the settings.txt and replacing<\/p>\n<p>any ideas<\/p>\n<p>thanks in advance<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":6},"question-category":[55],"question_tags":[],"class_list":["post-10923","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\/10923","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=10923"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=10923"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=10923"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=10923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}