{"id":11595,"date":"2016-09-19T17:11:12","date_gmt":"2016-09-19T21:11:12","guid":{"rendered":"http:\/\/www.thundercloud.net\/infoave\/new\/?p=11595"},"modified":"2016-09-19T17:11:12","modified_gmt":"2016-09-19T21:11:12","slug":"lets-make-a-batch-file-to-clean-up-your-pc","status":"publish","type":"post","link":"https:\/\/www.thundercloud.net\/infoave\/new\/lets-make-a-batch-file-to-clean-up-your-pc\/","title":{"rendered":"Let&#8217;s Make a Batch File to Clean Up Your PC"},"content":{"rendered":"<h1><span class=\"auto-style7\"><span class=\"\u00e4uto-style7\"><strong>Let&#8217;s Make a Batch File to Clean Up Your PC<br \/>\n<\/strong><\/span><\/span><\/h1>\n<p><span class=\"auto-style7\"><span class=\"\u00e4uto-style7\">This tip will work on Windows 7, Windows 8, Windows 8.1 and Windows 10. So have at it!<\/span><\/span><\/p>\n<p>Back in the days of yore \u2014 i.e. DOS &#8212; batch files were used by geeks to do all sorts of things \u2013 including some bad things. Batch files are still as powerful as ever. Geeks use them but that doesn&#8217;t mean they&#8217;re hard to create. Actually there are very easy to make. All you need to make one is Notepad, a little code, and a little patience.<\/p>\n<p>So open Notepad right now. Press and hold down the Windows Key \u2014 then press the R key. In the command line type Notepad and press Enter. Now that Notepad is open copy and paste the following line (or if you\u2019re a masochist you can type it all in):<\/p>\n<p>c:\\windows\\system32\\cleanmgr.exe \/dc<\/p>\n<p>Now, and this is VERY important! Make sure you select \u201cAll files\u201d in Notepad\u2019s Save as type dialog. If you leave it set as \u201cText Documents\u201d- your batch file won\u2019t work, because text files cannot execute. (See the helpful image below.)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/batchfile-notepad.png\" alt=\"Cloudeight InfoAVe \" width=\"667\" height=\"460\" \/><\/p>\n<p>Now that you have <strong><em>Save as type<\/em><\/strong> \u201cAll files\u201d chosen, save your file as cleanup.bat . Saving it to your desktop is highly convenient because it&#8217;s right there where you can see it.\u00a0Amaze your friends! Even your enemies! You are a geek &#8211; you just created a program!<\/p>\n<p>Here&#8217;s another way to do it. This creates a shortcut to Windows Disk Cleanup &#8211; so it&#8217;s not so geeky but you can pin the shortcut your taskbar or Start menu if you choose.<\/p>\n<p>Go to your desktop. Right-click on an empty area (one with no icons). Choose &#8220;New&#8221; then &#8220;Shortcut&#8221; and copy &amp; paste this line of text:<\/p>\n<p>c:\\windows\\system32\\cleanmgr.exe \/dc<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2016\/diskcleanup-1.png\" alt=\"\" width=\"600\" height=\"467\" \/><br \/>\nThen click &#8220;Next&#8221; and give your Disk Cleanup Shortcut a name:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2016\/diskcleanup-2.png\" alt=\"\" width=\"600\" height=\"467\" \/><br \/>\nAnd click &#8220;Finish&#8221;.<\/p>\n<p>If you want your shortcut to appear on your start menu or taskbar (or both), just right-click it and choose &#8220;Pin to start&#8221; or &#8220;Pin to taskbar&#8221; or both. See?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2016\/diskcleanup-3a.png\" alt=\"\" width=\"406\" height=\"285\" \/><\/p>\n<p>So whether you want to play around with making a batch file and amaze your cronies, or if you just want a nifty shortcut to clean up your computer, now you know how, right?<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s Make a Batch File to Clean Up Your PC This tip will work on Windows 7, Windows 8, Windows 8.1 and Windows 10. So have at it! Back in the days of yore \u2014 i.e. DOS &#8212; batch files were used by geeks to do all sorts of things \u2013 including some bad things. Batch files are\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.thundercloud.net\/infoave\/new\/lets-make-a-batch-file-to-clean-up-your-pc\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts\/11595"}],"collection":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/comments?post=11595"}],"version-history":[{"count":2,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts\/11595\/revisions"}],"predecessor-version":[{"id":11597,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts\/11595\/revisions\/11597"}],"wp:attachment":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/media?parent=11595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/categories?post=11595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/tags?post=11595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}