|
PC911 > How-To > Windows > AutoRun
Autorun Tips and Tricks
page 2: How to disable autorun
AutoRun tricks: Change a drive icon
Here's a little trick you can use to change the icon for a drive, e.g. your hard drive, from the boring default icon to something else. First, use Notepad to create a file called Autorun.inf and save it in the root directory of the drive whose icon you want to change. In that file, you need to enter two lines. Here's an example:
[autorun]
ICON=C:\Windows\System\Shell32.DLL,21
This tells Windows to display icon number 21 for whatever drive you saved this autorun.inf in. Shell32.DLL is a Windows system file that contains all the Windows icons. But you can also create your own icon or point to another icon somewhere else on your hard drive. Just specify the path and file name in the ICON= line. If it doesn't seem to work right away when you're done, you might have to go to View/Refresh or hit the F5 function key to refresh the screen and have Windows update the icon.
|