{"id":1508,"date":"2013-02-01T13:02:12","date_gmt":"2013-02-01T19:02:12","guid":{"rendered":"http:\/\/neosmart.net\/blog\/?p=1508"},"modified":"2013-02-01T13:02:12","modified_gmt":"2013-02-01T19:02:12","slug":"autoformat-for-windows","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/autoformat-for-windows\/","title":{"rendered":"AutoFormat for Windows"},"content":{"rendered":"<p>A few years ago while working on another boot-related project, I had need of a scripted method of formatting a drive, silently and without user intervention (don&#8217;t ask).<\/p>\n<p>After mucking around with the various IOCTL in the disk and volume management WIN32 APIs, I realized there was a much easier method. Windows has always shipped with a <a href=\"http:\/\/technet.microsoft.com\/library\/cc722865.aspx#XSLTsection130121120120\" rel=\"follow\">command-line format utility<\/a> (aptly named &#8220;format&#8221;) that could technically be <del>coerced<\/del> err convinced to do the job.<\/p>\n<p>The only problem with format.com is its (understandable) reluctance to actually wipe a disk without the user explicitly OKing it. At the same time, there are quite a few developers out there doing low-level work that does not involve viruses or other malicious intent that are in need of a scripted format run. And, of course, the expectation is that the developer will obtain the user&#8217;s permission beforehand.<\/p>\n<p>However when all is said and done, there&#8217;s no clean way of formatting a disk behind the scenes. Enter AutoFormat for Windows.<\/p>\n<p><!--more--><\/p>\n<p>AutoFormat is a Windows utility to programmatically format a disk without user intervention.\u00a0This is basically the Windows format utility somewhat lobotomized to &#8220;forget&#8221; to ask a user for permission before formatting a disk. It goes without saying:\u00a0<strong>be careful when running using AutoFormat.com, and use at your own mortal peril!<\/strong><\/p>\n<p>AutoFormat.com takes exactly the same command-line parameters as the bog-standard format.com, and is for all intents and purposes one and the same &#8211; except it will not wait for the user&#8217;s say-so before formatting the target volume. It supports FAT, FAT32, exFAT, and NTFS.<\/p>\n<p>Again, one last time:\u00a0<strong>don&#8217;t use this for malicious intent (and don&#8217;t tell us if you do; we&#8217;ll be forced to take this down). This software shall be used for Good and not Evil. You shall only use this on a genuinely licensed copy of Windows.<\/strong><\/p>\n<p>And without further ado:<\/p>\n<p class=\"save\"><a href=\"\/blog\/wp-content\/uploads\/AutoFormat.zip\">AutoFormat for Windows<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few years ago while working on another boot-related project, I had need of a scripted method of formatting a drive, silently and without user intervention (don&#8217;t ask). After mucking around with the various IOCTL in the disk and volume &hellip; <a href=\"https:\/\/neosmart.net\/blog\/autoformat-for-windows\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":505,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[858,448,11,901,859],"class_list":["post-1508","post","type-post","status-publish","format-standard","hentry","category-software","tag-autoformat","tag-freeware","tag-programming","tag-software","tag-utilities"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4xDa-ok","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/1508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/505"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=1508"}],"version-history":[{"count":2,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/1508\/revisions"}],"predecessor-version":[{"id":1511,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/1508\/revisions\/1511"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=1508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=1508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=1508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}