Annoyances.org
Home » Windows 98 Discussion Forum » Message 1002001794 » Entire Thread Search | Help | Home
  
Question about 'Customize Drive Icons'
Showing all messages in thread #1002001794
Windows 98 Annoyances Discussion Forum


The following are all of the messages in this thread (9 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Question about 'Customize Drive Icons'
Monday, October 1, 2001 at 10:49 pm
Posted by thomas (1 messages posted)

I have a question about Customize Drive Icons:

i put icon=C:\WINDOWS\#icons\aphex.ico, in the autorun.inf file, but i don't understand what the article means by the "index" of the icon... it works properly because the c: does show the default Win icon (that shows up when you have an unregistered filetype)... so the first part of the string is correct, i just can't get the index #. i tried leaving it off (deleting the comma and what's after it), making it a 1, a 0, and also just leaving the comma with no digit afterwards - none of these approaches work...

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, October 2, 2001 at 12:25 am
Posted by Bobstur (2225 messages posted)

Some icon containing files have more that one icon in which case you would use the index to designate anything but the first icon. From what you explain I'd question the validity of the icon file your trying to use. Try another.

Bob Sturtevant  http://home.adelphia.net/~bobstur/
Please reply in the forum and let us know.


[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, October 2, 2001 at 2:34 am
Posted by Ursula (94 messages posted)

The icon index is used when the icons are coming from a binary file like a .dll or 
.exe. It is the position of the icon in the file (a negitive number is the inverse 
of the resource ID). Omit the comma and Icon Index when using an .ICO file.
To get the index create a shortcut, right click and choose Properties, then Change 
Icon, then Browse. Select the file and click open. The icons are numbered from 0 
downwards then across.
---------------
ie:  0  3  6    
     1  4
     2  5
---------------
Here are some files containing icons:
Windows\System\Shell32.dll
Windows\Progman.exe
Windows\System\Cool.dll

Hope this helps to sove your problem.




On Monday, October 1, 2001 at 10:49 pm, thomas wrote: >I have a question about Customize >Drive Icons:

> >i put > >icon=C:\WINDOWS\#icons\aphex.ico, > >in the autorun.inf file, but i don't understand what the article means by the "index" >of the icon... it works properly because the c: does show the default Win icon (that >shows up when you have an unregistered filetype)... so the first part of the string >is correct, i just can't get the index #. i tried leaving it off (deleting the comma >and what's after it), making it a 1, a 0, and also just leaving the comma with no >digit afterwards - none of these approaches work... > >

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, October 2, 2001 at 3:20 pm
Posted by Paul D (827 messages posted)

Is the path correct (ie, should that hash sign really be there?)


Paul D





On Monday, October 1, 2001 at 10:49 pm, thomas wrote:
>I have a question about Customize
>Drive Icons
:


>
>i put
>
>icon=C:\WINDOWS\#icons\aphex.ico,
>
>in the autorun.inf file, but i don't understand what the article means by the "index"
>of the icon... it works properly because the c: does show the default Win icon (that
>shows up when you have an unregistered filetype)... so the first part of the string
>is correct, i just can't get the index #. i tried leaving it off (deleting the comma
>and what's after it), making it a 1, a 0, and also just leaving the comma with no
>digit afterwards - none of these approaches work...
>
>

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, October 2, 2001 at 5:33 pm
Posted by thomas (1 messages posted)

thank you Ursula, your response was very helpful. 2:34 a.m.?

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Thursday, October 4, 2001 at 12:38 pm
Posted by Ursula (94 messages posted)

Yeah… I guess I should get a life. But I enjoy helping.


On Tuesday, October 2, 2001 at 5:33 pm, thomas wrote:
>thank you Ursula, your response was very helpful. 2:34 a.m.?

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Saturday, October 27, 2001 at 3:35 am
Posted by Gareth (10 messages posted)

Alternatively, when you are changing your "My computer" to open Explorer automatically 
(which everyone should do...)

     [[[For information on this follow this link ]]]

http://www.annoyances.org/exec/show/article02-014

Look two keys up from the Shell command and you will see the Default Icon.

Simply edit the value in here to the path of your icon.

I prefer this method to creating extra files (such as the autorun.inf)

Hope this helps

Tek


[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Thursday, February 6, 2003 at 3:39 pm
Posted by Mark Ahriman (3 messages posted)

Another way to change the drive icons, as well as the labels of all your drives, 
even cd drives with no dics inserted, is this:

Open HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Explorer

make a new key called DriveIcons
Inside this key, make a new key called C (for C drive).

In the C key, make two new keys, one called DriveIcon and DriveLabel.
In the default value for the DriveIcon key, type the path to the icon you want, and 
for the DriveLabel, type the name you want to call it.


This works for all the drives connected to your system, the labels only show up if 
you havent labelled the hard drive in the disk properties.

Just thought I'd show another way ;)

Cheers
Mark

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Friday, February 7, 2003 at 1:36 am
Posted by Mark Ahriman (3 messages posted)

Oops, I got it wrong. The keys that you create under the drive letters are called DefaultIcon and DefaultLabel. Sorry bout that If you want to see pictures of this, visit www.users.bigpond.com/beebopandrocksteady/drive/ Cheers Mark Ahriman

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows 98 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.