{"id":2088,"date":"2012-01-31T18:37:47","date_gmt":"2012-02-01T01:37:47","guid":{"rendered":"http:\/\/deathgleaner.wordpress.com\/?p=2088"},"modified":"2014-01-31T14:17:46","modified_gmt":"2014-01-31T22:17:46","slug":"autorun-inf","status":"publish","type":"post","link":"https:\/\/g-liu.com\/blog\/2012\/01\/autorun-inf\/","title":{"rendered":"Making the most of your USB: Autorun.inf"},"content":{"rendered":"<p><a href=\"http:\/\/geoffliu.files.wordpress.com\/2012\/01\/autoplay.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-2091\" title=\"AutoPlay\" src=\"http:\/\/geoffliu.files.wordpress.com\/2012\/01\/autoplay.png\" alt=\"\" width=\"334\" height=\"275\" \/><\/a>Does that window look familiar? Ever wish you could customize it with options such as:<\/p>\n<ul>\n<li>opening a file,<\/li>\n<li>opening a website, or<\/li>\n<li>running a program?<\/li>\n<\/ul>\n<p>Guess what?<\/p>\n<p><span style=\"text-decoration:underline;font-size:150%;\"><strong>You can.<\/strong><\/span> And here&#8217;s how!<\/p>\n<p><!--more--><\/p>\n<ol>\n<li>Create an <a href=\"http:\/\/www.addictivetips.com\/windows-tips\/how-to-autorun-programs-from-usb-flash-drive-and-add-custom-icons\/\">autorun.inf file.<\/a> This is the file that will contain your customizations. Put it in your flash drive (not in a folder though.) Open it in TextEdit or any text editor.<\/li>\n<li>At the top of the file, type &#8220;[autorun]&#8221; (without quotes, of course), then hit Enter.<\/li>\n<li>There are now a variety of ways you can customize the autorun. Just follow the examples below:\n<ul>\n<li><strong>Naming your USB drive:<\/strong> label = <code>Name of usb drive<\/code><\/li>\n<li><strong>Giving your USB drive an icon:<\/strong> icon = <code>Iconname.ico<\/code> OR <code>ProgramName.exe<\/code> (in the latter case, the USB icon will be the ProgramName&#8217;s icon.<\/li>\n<li><strong>Opening a program:<\/strong>open = <code>ProgramName.exe<br \/>\naction = Description that will be shown in the window<\/code><\/li>\n<li><strong>Opening up a website:<\/strong>shellexecute = <code>http:\/\/bit.ly\/deathgleaner<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>An example of an autorun.inf file:<code><\/code><\/p>\n<blockquote>\n<pre>[autorun]\nopen=Eclipse.exe\nlabel=Deathgleaner's awesome drive\nshellexecute=http:\/\/bit.ly\/deathgleaner\naction=Open up Deathgleaner's website and Eclipse.exe<\/pre>\n<\/blockquote>\n<p>In this case, clicking on the option in the box will open up <a href=\"http:\/\/eclipse.org\" target=\"_blank\">Eclipse <\/a>as well as this blog.<\/p>\n<p>For more tips, check out <a href=\"http:\/\/web.archive.org\/web\/20130520112751\/http:\/\/dailycupoftech.com\/usb-drive-autoruninf-tweaking\/\">this website<\/a>.<\/p>\n<div id=\"geo-post-2088\" class=\"geo geo-post\" style=\"display: none\"><span class=\"latitude\">47.558739<\/span><span class=\"longitude\">-122.409668<\/span><\/div><!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content --><!-- AddThis Related Posts generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Does that window look familiar? Ever wish you could customize it with options such as: opening a file, opening a website, or running a program? Guess what? You can. And here&#8217;s how!<!-- AddThis Advanced Settings generic via filter on wp_trim_excerpt --><!-- AddThis Share Buttons generic via filter on wp_trim_excerpt --><!-- AddThis Related Posts generic via filter on wp_trim_excerpt --><\/p>\n","protected":false},"author":2,"featured_media":2091,"comment_status":"open","ping_status":"open","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,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[16,115],"tags":[],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2Zt3y-xG","_links":{"self":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts\/2088"}],"collection":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/comments?post=2088"}],"version-history":[{"count":3,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts\/2088\/revisions"}],"predecessor-version":[{"id":4326,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts\/2088\/revisions\/4326"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/media?parent=2088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/categories?post=2088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/tags?post=2088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}