{"id":3937,"date":"2021-11-06T11:02:21","date_gmt":"2021-11-06T11:02:21","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=3937"},"modified":"2021-11-06T11:02:53","modified_gmt":"2021-11-06T11:02:53","slug":"create-bat-file-to-add-text-line-to-ini-file","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/create-bat-file-to-add-text-line-to-ini-file\/30345.html","title":{"rendered":"Create .Bat File To Add Text Line To .Ini File?"},"content":{"rendered":"<p>I have the need to create a .bat file that will add a specific text line to a .ini file.<\/p>\n<p>The text line should go specifically in one point of the .ini, otherwise it won&#8217;t show a Toolbar that&#8217;s needed.<\/p>\n<p>It should go right after the [Environment] bracket and all of its content finishes.<\/p>\n<p>The text line is:<\/p>\n<p>[Toolbar]<br \/>\nOrthoCad=Models,Start OrthoCAD with this patient&#8217;s info,c:\\dolphin\\buttons\\orthocad.bmp,C:\\Program Files (x86)\\Cadent\\OrthoCad\\OrthoCad.exe -patient_id={PatientID}<\/p>\n<p>The .ini file location is C:\\Windows\\Dolphin.ini<\/p>\n<p>Thanks for any help provided!<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":28},"question-category":[55],"question_tags":[],"class_list":["post-3937","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\/3937","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=3937"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=3937"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=3937"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=3937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}