Computer, Gadgets, Humor, et cetera

Daily Clicks

Saturday, July 22, 2006

Give Your USB Flash Drives Their Own Icon

This is something I recently came across and I thought it would be an interesting tip to share with you, my reader. You can easily assign any picture you want to be the drive icon in your explorer window. All you need to do is save the picture as a .ico file and create a simple autorun. Save the .ico file as something familiar like driveicon.ico and then open up notepad and create a new text file with the contents:
[autorun]
icon=driveicon.ico

and then rename it to "autorun.inf". Make sure both of these files are in the root drive of your USB stick and you should be good to go. As long as autorun is enabled for the drive the new icon should show up.

Autorun.inf files are also helpful if you want to automatically run programs at start up. All you need to do is add a line to the autorun.inf file. We'll assume you want to autolaunch Portable Firefox.
[autorun]
icon=driveicon.ico
start portableapps\portablefirefox.exe

We leave off the drive at the beginning beacause if you use multiple computers each one may assign a different drive letter to your USB drive. We are also assuming that you have Portable Firefox installed in a directory called "portableapps" in the root of your USB drive. You can do this for any program you would like. Just change the location and the program executable and remember to put new entries on the next line in the inf file.

The Portable Apps site has a whole suite of apps you should check out. It is available on their Portable Apps Suite page.


Technorati Tags: , , , ,

0 Comments:

Post a Comment

<< Home