{"id":8177,"date":"2021-11-26T14:31:28","date_gmt":"2021-11-26T14:31:28","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=8177"},"modified":"2021-11-26T14:32:12","modified_gmt":"2021-11-26T14:32:12","slug":"setting-autoexec-bat-in-win-7-or-win10","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/setting-autoexecbat-in-win-7-or-win10\/30983.html","title":{"rendered":"Setting Autoexec.Bat In Win 7 Or Win10"},"content":{"rendered":"<p>I tried answering a question on this but had to create a new contribution.<\/p>\n<p>I wanted to execute a SUBST (yes I know the pros and cons) and have it on boot up.<\/p>\n<p>I found a simple way to set\/edit autoexec.bat is to place it in this folder:<br \/>\nC:\\Users\\username\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup<\/p>\n<p>This avoids issues with Win 7 or Win 10 deleting\/hiding an autoexec.bat in the root C:\\ drive.<\/p>\n<p>I find the autoexec.bat file runs about 10 seconds after the start menu appears.<\/p>\n<p>HTH.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":8},"question-category":[55],"question_tags":[],"class_list":["post-8177","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\/8177","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=8177"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=8177"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=8177"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=8177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}