Search Perform an advanced search query SOFTPEDIA
 
SOFTPEDIA
Updated one minute ago
HomeSubmit a program for being reviewedAdvertise on our websiteGet help on surfing our websitesSend us your feedbackGet information about our XML/RSS backend and how to use itBrowse the news archiveVisit our discussion forumVizitati forumul in limba romana



KLIP
  1. HOME
  2. SCIENCE
  3. TECHNOLOGY
  4. WEBMASTER
  5. SECURITY
  6. MICROSOFT
  7. LINUX
  8. APPLE
  9. GAMES
  10. TELECOMS
  11. REVIEWS
  12. LIFE & STYLE
  13. EDITORIALS
  14. INTERVIEWS
  15. RSS
Welcome!
Hello, Guest

Login if you have a Softpedia.com account.

Otherwise, register for one.

EDITORIALS

Customize the Actions Of Your USB Drive

- Get the most of the little storage device

By: Ionut Ilascu, Editor, Software Reviews

USB sticks have come to be an essential part when working on a computer. And this small device has all the advantages to its side: it comes in different shapes and storage sizes,
due to its physical size it can easily be attached to a key chain, it can carry around your important data, works with every computer with an USB port and can be configured to your own needs. Even its price is in free-fall and anyone with less than $50 can purchase one.

But let's get back to the configuration part. With a few commands wisely placed in the right location and a few files at its root you can customize it to fit your personality and preserve them on every machine you stick it in.

Auto-running specific actions, labeling and naming your regular USB stick (as opposed to U3 USB) is a good way to start. So, first of all, create an autorun file with Notepad and change the extension from TXT to INF. The reason for this action is that, once you have plugged the USB into a computer, Windows will look for it and execute the commands included by default. If you want to disable this, read this.

Now that we're done with the easy part, let's get to the hard work. It's so hard that it'll only take a couple of minutes to finish plus adding the necessary files to the portable drive.

The first step to be taken is telling Windows what should it do the moment the USB stick is detected and, for this, we use [autorun] (typed with brackets) command as a header of the autorun.inf file. All that follows has to be neatly arranged one command per line, otherwise the tricks won't work.

Labeling the USB drive is an easy trick and, although you can do this by simply pressing F2 in Windows Explorer while the USB drive is selected, it will not allow you full flexibility as the number of characters are limited to 11. Using label command you can name your USB key whatever you want and use more than eleven characters. To do this simply type in "label=Whatever name you want".

Going deeper into the personalization process you can set an icon to be shown in Windows Explorer as a distinctive sign of the key owner's personality. For this, there is a slightly more complicated action as you also have to place the desired ICO file at the root of the drive. Once this is done edit autorun.inf by adding the icon command which equals to the image at the root of the drive (icon=Softpedia.ico).

And now we get to the really fun part of the customization: AutoPlay menu. First you should know that the two options used for the customization are "open" and "action". The first one will automatically launch the file it is indicated, while using the second will result into populating AutoPlay menu with the message the user is prompted with.

With "open" you point to the application to be launched from AutoPlay menu and this should be available at the root of the drive. All you need is to append open=Softpedia.exe command in the Autorun file and make sure you have a Softpedia.exe file at the root of the drive.

"action" is used just for adding a message so that you know what is going to happen when open command is accessed via Windows AutoPlay menu. If everything is done right it should look like the image at the beginning of the article.

Don't limit yourself only to this simple customization as there is more to be done like adding context menus specific to the USB drive (the same [autorun] file needs to be edited), menus that have all sorts of actions behind.



 
Comments | Link here | Subscribe
Print | Send to friend
Today's News | Yesterday's News

Search:

5th January 2008, 12:28 GMT | Copyright (c) 2008 Softpedia | Contact:
Read by 2,829 user(s) | Rating: | 4 vote(s) so far | Cast your vote:
Customize the Actions Of Your USB Drive - USER OPINIONS

Comment #1 by Scotch on 2008-01-23, 04:51 GMT reply to this comment 
A lot of viruses use this autorun.inf file to spread .

See
http://johndasfundas.blogspot.com/2007/09/fundas-on-removing-orkut-is-banned.html

That virus infects your pen drive and puts a file MicrosoftPowerPoint.exe and a file autorun.inf

Besodes removing the virus from your computerthese have to be deleted to remove the virus completely


go to top


SHARE YOUR OPINION ABOUT Customize the Actions Of Your USB Drive

Since you are not logged on, your comments will have to be approved before being displayed.
Click here to login, or register.
Your Name:
Your Email:
Type in the result:
Your Opinion:
 


DO YOU WANT TO CONTACT US?  

If you have some comments or you want to send us some information you can send us an email directly to .
You can use the form below for the same purpose.
Your full name: (at least 3 characters)
Your email address: (at least 5 characters)
Message subject: (at least 5 characters)
Message text:
(at least 10 characters)
Type in the result:
 
 



© 2001 - 2008 Softpedia. All rights reserved.
Softpedia™ and Softpedia™ logo are registered trademarks of SoftNews NET SRL.
Copyright Information | Privacy Policy | Terms of Use | Contact Softpedia | Update your software | Archive