{"id":6140,"date":"2021-11-18T08:31:42","date_gmt":"2021-11-18T08:31:42","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=6140"},"modified":"2021-11-18T08:35:31","modified_gmt":"2021-11-18T08:35:31","slug":"put-a-time-limit-on-the-bat","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/put-a-time-limit-on-the-bat\/25319.html","title":{"rendered":"Put A Time Limit On The .BAT"},"content":{"rendered":"<p>Hi,<\/p>\n<p>Ok i have two .BAT files. The first one i set up so it ask for a password, if that password is wrong it loops round asking for it again. Once the correct password is entered it triggers the second .BAT which is a variation of the &#8216;Matrix Batch File&#8217;.<\/p>\n<p>The &#8216;Matrix Batch File&#8217;, if your unaware of it, just runs through random numbers at a high speed and look asif the PC is decoding something. This batch file never ends, it just keeps going.<\/p>\n<p>What i want to do is bring it to an end, say after 10 seconds! but i am unsure of how to go about it. Would you be able to help me?<\/p>\n<p>Coding for &#8216;Matrix Batch File&#8217; == :<\/p>\n<p>@echo off<br \/>\ntitle System Decryption<br \/>\n:start<br \/>\ncolor 00<br \/>\necho %random%%random% %random%%random% %random%%random% %random%%random% %random%%random% %random%%random%<br \/>\ngoto start<\/p>\n<p>I dont think you would need the coding for the Password BAT but i can post it if you want<\/p>\n<p>Thanks<\/p>\n<p>Matt<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":2},"question-category":[55],"question_tags":[],"class_list":["post-6140","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\/6140","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=6140"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=6140"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=6140"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=6140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}