Change Folder Icon

I wrote this App using AutoHotkey for fast and easy changing of folder icons thur a quick and simple GUI.

Github download link at the bottom of the post.

It was written with using the .ico format in mind. You can push .dlls through it, but the dll support is limited and i don't plan on developing that any further.

I got tired of wasting time clicking thur the 3 sets of windows and buttons that windows makes you jump through to set a custom folder icon from the folders properties window.

dopus_2024-07-24_07-05-16PM_x

I have posted about this before and here. Then after a year of playing with AHK i found the magic combination to make this simple and made a GUI for it.

I posting about this here because i tapped into Dopus great ability to to use dopusrt to view and load active tabs into the gui for speed and convivence! Thank you dopus team! Any one can use this but these dopus menus only appear when the dopusrt.exe path is set in the settings.

Its lightweight and changes no system files or settings except for the desktop.ini files that you tell it. Here's me installing it and change its own folder icon in about 30 seconds... :slight_smile:

It also has a handful of dynamic menus to make it quicker and easier to use, Live hotkeys being read form the settings file, save your history options, toggles for extra options, etc etc ...



How I use it inside of Dopus...

I use it combination with Dopus button for on-the-fly folder icon changes. Its on my tool bar and context menu (for folders only)

This Option Sends the Selected Folder Path to Program as a parmater without changing your clipboard (Recommended)

@disablenosel:dirs
@dirsonly
@nodeselect
@async:"C:\Users\<YourUsername>\Update the path to\Change Folder ICO.exe" {filepath}
// important update the path to where you have this installed here.

This Option Uses Your Clipboard

@disablenosel:dirs
@dirsonly
@nodeselect
Clipboard COPYNAMES=unc
@async:"C:\Users\<YourUsername>\Update the path to\Change Folder ICO.exe"
// important update the path to where you have this installed here.

This button will copy the full folder path, then run Change Folder ICO.exe.

Then inside my app I keep the option to "Automatically check Clipboard on Startup" turned on. It will find the folder path in your clipboard and load it automatically.

Provide it an a path to .ico file and click Set New Icon! Simple! it will write the icon path into that folders desktop.ini and apply the attributes that windows looks for to change the folder icon.

To Download

You can download it from the Releases page on its Github Webpage.

I hope some of y'all check it out and find it useful!

-Xavier


Update Notice 09-30-2025

if anyone has been using this little app I wrote I just want to bring to your attention I made some improvements that I recommend updating for.

Thanks && Enjoy!

Changelog Symbols Key: + NEW|ADDED, - REMOVED, ! FIXED, * CHANGED, # TODO, $ ISSUE|BROKEN

;------------------------- v.2025.10.01

! Fixed an Error where paramaters being sent by dopus were causing errors when sent with quotes

* Code Cleaned up & condensed. There's now only on gui shareing both dark & light mode settings.

;------------------------- v.2025.09.30

++ added the ability to send a directory to the script as a parameter without messing with your clipboard! this is great option for Dopus users! if you have a button that launches the program via Dopus you can update the cmd, remove the Clipboard COPYNAMES=unc line and replace it this single line...
@async:"X:\the path to\Change Folder ICO\Change Folder ICO.exe" {filepath}

!NOTE! -- The AutoCheckClipboardOnStart is still an option as it is very handy.

! Fixed\Updated support for Everything 1.5a as they've change their file names in recent updates.

*+ The GUI now automatically reloads when changing between Light & Dark Modes

;------------------------- v.2025.09.28

! Fixed Custom IconError= Icon not being seen when set in the .ini

++ Added drag-and-drop capability to the gui! .ico files will automatically be loaded into the icon path field. folders ( or any other file that's not an ico ) will be split at the last Directory and loaded into the folder field. Note this only work on the EXE version. it's a limitation of AHK that won't work if your running an a non-compile source-code script.

Which to Download???
The .zip file contains the AutoHotkey source code, the exe, extracted icons and this repos readme.md files. The Full Package.

The exe is a self extracting portable installer. it will extract itself in place into own folder after which you can place it any where except in the C:\Program Files\ folders. It's the same as the zip without the source code and and readme.md. The Simple run and go Package.

8 Likes

This is awesome! It's exactly what I was looking for.

  1. Do you happen to know how to change the default folder icon?

  2. Do you have a favorite set of icons that you use for programs and folders? Would you like to share/compare?

It's great little app isn't it! I wrote as a pet project and thought I was too handy not to share.

There are some others ive come across but we're two bulky or required too much clicking around to use. .. drop a folder. Drop an icon. Save . Done! Simple


When u say "Default Folder Icons" do you mean the default system - shell icons that windows assigns? It that the case, no I don't how to change that. It would live in the registry somewhere and I bet it would be a setting windows would have have a stroke about if you changed it.

I went to school for photo and graphics, big on visuals. my icon hoard is out of control! GitHub is a good resource for bulk downloads open source SVG icons collections, Convert to ICO and done! Keep them on the root of a drive C or X :\Icons.. so everything can access them.

Yep, you're right. You need to use the registry. Leo's instructions from 2007 still applies today.

Thanks for the neat button though.

I like trying to pretty things up so I slowly replace an icon here and there. I was wondering what specific icons you've been using for your Dopus listers. I have a tons of icons too but nothing truly pretty. I've been using the old Hyperion collection. Hyperion Icon Set by Sebastiaan de With (96 icons of 256x256px - ico, icns and png format) - free download | Icons101.com

If you find something prettier, let me know.

that's one of my icon tagging bars, (floating cramped)

any my menus are done up just same.

annnddd.. then my AHK menu system is a whole - other - beast :slight_smile:

Wow! First, how did you find an icon for every single command? Just to think about and pick the best icon takes time unless you got everything from the same pack. It sure does look pretty.

Did you create those menus yourself? I guess you're a programmer and it streamlines your work flow. I just do this to satisfy my analness. Right now, I'm figuring out how to covert all my scripts to ahk v2.

I notice you use listary. Have you tried Raycast?

Why windfindr? For content? registry?

I remember trying WorldWeb a long time ago. I just look up on Thesaurus.com via hotkey. Is WordWeb better?

I'd be interested in what kinda' programs you use. Want to share?

Wow! First, how did you find an icon for every single command?

too much time on my hands... :rofl: and waay to big of an icon collection.
and yes, wrote that each menu item myself and their subroutines. i found a couple minimal "change the case of selected text" ahk menus on reddit & github. then as i started to learn ahk i went crazy with it :smiley: . what i have up on github is a year out of date. my own menu has...
image

... 2837 items. LOL.

its way over the top. i have my ahk dir feeding into the menu. i can open\run\edit\reload\etc... everything in it from my own menu runner... uhhh .... AeroKey++ all my ahk Gui Maddness...

and I'm a total amautur. I'm kind of sticking to ahk v1, its simple to learn, mostly a CSV lanuage, the syntax and forced everything MUST be a function rules of v2 are eehh.

this the 1st I've heard of raycast, looking that webpage, its another copy of https://fluentsearch.net. these keyboard launchers are becoming all the new rage. my favorite one i use as a daily default is Flow Launcher v19.5 Portable. it lightweight and have it set up in a way where it works seamless on to different versions of windows, 10\11. been using it a few a few years have have forgotten all about how MS as trashed the start menu because i don't have to use it any more. Alt + Space for flow and Win + Space for my own ahk launcher i built.

Why windfindr? For content? registry?

yes i liked that it could search the registry. but then i discovered Registry Finder which is way more fuctional and haven't used winfindr again. just left it in the menus.

I'm using an older version WordWeb i like it because its local and offline, that being said it'll still often use a define: xxx google search to quickly check spelling.

Don't worry. I'm not criticizing you because I do the same goddamn thing. I spend hours just converting icons. Then when I have to reinstall Windows every year or so, I have to start all over again. ¯_(ツ)_/¯

Somebody has to get off their lazy butt and finally create the successor to Windows. It's so old and bloated.

I'm jealous that you were able to pull it off and it looks nice. You've got it nicely setup. I only recently started using autohotkey++. I've been using old-school ahk studio for a very long time. :wink:

1 Like

To anyone using this app I've pushed a MASSIVE 6+ Months update on the github repo, which also has a new name, there's a long change log here are ...

a few quick highlights

AI-SLOP code clean up! eg, desktop.ini file are no longer deleted to set an icon. they're written to directly while backing up the previous setting inside the .ini itself.

no more make shift installer, unzip and run, simple. note that there are new filename for the .exe and .ini, with a handful of new settings option in the .ini. you can copy over what you need from you old settings.

removed the limits of only setting .ico as icons AND integrated windows .dll icon picker for setting and iconindex number from .exe, .dll and .icls

added a few perks for doups users, eg you can preview icons directly through dopus image viewer and menu item that will copy the .dcf to you clipboard so you can paste on your toolbars. eg...

THIS IS AN EXAMPLE DON'T TRY TO PASTE THIS!


<?xml version="1.0"?>
<button backcol="none" display="icon" hotkey_label="yes" label_pos="right" textcol="none">
	<label>Change Folder Icon</label>
	<icon1>%this path updates live%\ChangeFolderIcon.exe,-159</icon1>
	<function type="normal">
		<instruction>// @disablenosel:dirs</instruction>
		<instruction>// @dirsonly</instruction>
		<instruction />
		<instruction>@nodeselect</instruction>
		<instruction>@async:&quot;%this path updates live%\ChangeFolderIcon.exe&quot; {filepath}</instruction>
		<instruction />
		<instruction>// https://resource.dopus.com/t/command-for-changing-folder-icon/51924</instruction>
		<instruction>// https://resource.dopus.com/t/change-folder-ico/54858</instruction>
		<instruction>// https://github.com/indigofairyx/Change-Folder-Icon</instruction>
	</function>
</button>

added an option to copy an .ico locally to the active folder, which applies the icon .\relatively, making that folder icon portable.

added the ability to set icons to Drives as well!!! i love this! the screen shot is my system, every drive has a custom icon now, that appears system wide, in all file-picker dialogues!

and then some more!

To View the full change log and download the new version visit...

2 Likes

It works great!

  1. In your github, you might want to explain the purpose of the app. Explain that normally, one would have to right click the icon and go through several mouse clicks and scrollings until the folder icon is replaced. If you have to do 20 of them, the GUI is much easier and quicker. It makes your life so much better.

  2. You should ask for donations or even sell it for a 50¢. I'm a big believer that there shouldn't be freeware. It actually makes it better for the developer because he'll be motivated to make better programs.

  3. I don't know if I asked you this but where did you get your icons? For myself, I use Pry 3D set, iSuite Revoked, Brand11, and a few icons I found randomly. If you can point to actual sources, that would be awesome.

If you also want to trade icons, I'm up for it, although all of mine can be obtained for free.

1 Like

Thanks @SoBreezyInChile

an articulate readme\help is on my todo list. i wanted to make sure the app was in good working order 1st. I've learnt a lot in the past year and thou the gui doesn't look much different from the last release the code is much improved. there still a couple little bugs i see but nothing major or breaking.

and as for icons... i a big of a graphics junkie! its outta control. my icon collection is 6+GIG. all on drive X:\ where all my OSs can get to them. I've set up macro in everything for fast searching. they've mostly all been obtained from free sources.. Github is a good source for searching finding entire sets to download. as is DeviantArt thou their interface drives me insane.

the linux community forums such as Full Icon Themes - KDE Store, it stays store but is linux, they're all free; they're often in .svg format which i batch convert with IcoFx3 its not free thou for the batch processing I've not seen any free alternatives that do as good a job. especially with .svg which are increasing common these days. processing the linux sets are a pain. there will be 12,000 .svg files and 75% of them are 0 byte files that are symlinks.

https://www.iconarchive.com is good for finding sets under the "Designers" section, after poking around awhile you can find links to full sets. and just searching simple too.

and old tools like IconsExtract - Extract icon/cursor stored in EXE, DLL, OCX, CPL files still work fairly well for getting icons of applications. give it a:\directory\*.* and it'll search in .dlls and all.

color coding stuff is great and i do that thou my eyes find custom icons faster when navigating through folders that need sorting and\or projects.