{"id":375,"date":"2012-05-16T06:24:30","date_gmt":"2012-05-16T05:24:30","guid":{"rendered":"http:\/\/www.morbidcornflakes.ch\/thduggies_blog\/2012\/amazing-computer-speed-and-efficiency-booster"},"modified":"2012-05-16T06:24:30","modified_gmt":"2012-05-16T05:24:30","slug":"amazing-computer-speed-and-efficiency-booster","status":"publish","type":"post","link":"https:\/\/www.thduggie.com\/thduggies_blog\/2012\/amazing-computer-speed-and-efficiency-booster","title":{"rendered":"Amazing computer speed and efficiency booster"},"content":{"rendered":"<p>I have written a short batch file that can make your time on the computer much more efficient.\u00c2\u00a0 Here&#8217;s the code: copy it into an empty text file, rename the extension .bat, place the file in your autostart folder, and you&#8217;re ready to go.<\/p>\n<blockquote><p>@echo off<br \/>\n%SystemRoot%\\system32\\shutdown.exe -s -f -t 900 -c &#8220;Better get cracking!&#8221;<br \/>\npause<\/p><\/blockquote>\n<p>This will give you 15 minutes to get your work done before the computer shuts down.\u00c2\u00a0 (Or, alternately, 15 minutes to remove the file from your autostart folder.)<br \/>\nNow, to be honest, I don&#8217;t use it quite like that.\u00c2\u00a0 I use the following version (and it&#8217;s not in the autostart folder):<\/p>\n<blockquote><p>@echo off<br \/>\n%SystemRoot%\\system32\\shutdown.exe -s -f -t 10 -c &#8220;Shutting down, no questions asked!&#8221;<br \/>\npause<\/p><\/blockquote>\n<p>I do this because, as mentioned a year ago on <a target=\"_blank\" title=\"Mount Sutro Application Toolbox\" href=\"http:\/\/www.mountsutro.org\/2011\/01\/25\/969\/\">David July&#8217;s blog<\/a>, I have a program (SAMPLE.EXE) that won&#8217;t close properly.\u00c2\u00a0 It&#8217;s related to the Intel PROSet Network adapter, I&#8217;m certain, but it&#8217;s annoying because I need to wait around at shutdown to tell the computer that yes, SAMPLE.EXE should be terminated.\u00c2\u00a0 My little batch file takes care of all that (and any other programs that might be running), plus it saves the extra click on &#8220;Turn off.&#8221;\u00c2\u00a0 It&#8217;s all in the -f parameter.<\/p>\n<p>I think the original idea of shutdown.exe was to be able to shut down another computer on the network remotely, not your own &#8211; anyone can shut down his own computer, right? &#8211; but it suits my problem perfectly.\u00c2\u00a0 I&#8217;m not sure what it says about me, though, that it took me a year to come up with the simple brute force solution to this problem.<\/p>\n<p>Allow me to credit the <a target=\"_blank\" title=\"Computerhilfen\" href=\"http:\/\/www.computerhilfen.de\">http:\/\/www.computerhilfen.de<\/a> forums for batch help.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have written a short batch file that can make your time on the computer much more efficient.\u00c2\u00a0 Here&#8217;s the code: copy it into an empty text file, rename the extension .bat, place the file in your autostart folder, and you&#8217;re ready to go. @echo off %SystemRoot%\\system32\\shutdown.exe -s -f -t 900 -c &#8220;Better get cracking!&#8221; pause This will give you 15 minutes to get your work done before the computer shuts down.\u00c2\u00a0 (Or, alternately, 15 minutes to remove the file from your autostart folder.) Now, to be honest, I don&#8217;t use it quite like that.\u00c2\u00a0 I use the following version (and it&#8217;s not in the autostart folder): @echo off %SystemRoot%\\system32\\shutdown.exe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/posts\/375"}],"collection":[{"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":0,"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thduggie.com\/thduggies_blog\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}