Sign in to follow this  
Followers 0
About_Nothing

Icons on Desktop

8 posts in this topic

Hello there!

I am not sure if there was mentioned about that..

Anyway, is it possible to change any( shortcut, file, folder ) icon by a script?

If so, any suggestions will be welcomed! ) :whistle:

Share this post


Link to post
Share on other sites



Hello there!

I am not sure if there was mentioned about that..

Anyway, is it possible to change any( shortcut, file, folder ) icon by a script?

If so, any suggestions will be welcomed! ) :whistle:

Just to be sure... You mean, not actually changing anything in the file itself but rather change the icon that it shows in Explorer etc.?


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

Just to be sure... You mean, not actually changing anything in the file itself but rather change the icon that it shows in Explorer etc.?

Yes, exactly. I Need to change Just an icon..

Share this post


Link to post
Share on other sites

You can set the icon for many filetypes in the HKEY_CLASSES_ROOT registry subkeys. For instance, HKCR\dqyfile\DefaultIcon sets the icon in the 'Default' value.

Maybe there are API calls for this too, perhaps one of the most esteemed API extremists knows more?


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

You can set the icon for many filetypes in the HKEY_CLASSES_ROOT registry subkeys. For instance, HKCR\dqyfile\DefaultIcon sets the icon in the 'Default' value.

Maybe there are API calls for this too, perhaps one of the most esteemed API extremists knows more?

Note that you probably need to log off and on for the changes to take effect, or restart explorer or something.


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

You can set the icon for many filetypes in the HKEY_CLASSES_ROOT registry subkeys. For instance, HKCR\dqyfile\DefaultIcon sets the icon in the 'Default' value.

Maybe there are API calls for this too, perhaps one of the most esteemed API extremists knows more?

Thanx, I will try something..

:whistle:

Share this post


Link to post
Share on other sites

Well if its a normal shortcur, i would delete it and the create a new with the right icon :whistle:


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0