You are here

Folder Icon Simplifier

6 posts / 0 new
Last post
Sethionic
Offline
Last seen: 3 years 7 months ago
Joined: 2008-12-05 12:42
Folder Icon Simplifier

Would it be difficult to create a GUI that would allow one to assign icons to folders on Flash Drives using relative paths? Something similar to the windows interface possibly? Whenever I try to do it myself, but never was successful outside of assigning default windows icons from shell32.

José Pedro Arvela
Offline
Last seen: 3 years 9 months ago
Joined: 2007-07-10 07:29
Donno about GUI, but...

I don't know about any GUI that does this automatically, but you can choose the icon trough the default GUI, and then edit the icon path on a file inside the folder called desktop.ini. It is a hidden file, so you must disable the "Hide hidden files" option on explorer.

On that file you'll find an entry like this:

IconFile=D:\\path\to\the\icon\you\chose.ico

if the icon is on the same drive you can replace D:\\ (being D your drive's letter) with some nice stuff.

  • . for the current folder;
  • .. for the folder above;
  • and \ for the root of the drive.

So, for example, on PortableApps, the Music folder has this entry:

IconFile=..\..\PortableApps\PortableAppsMenu\App\DefaultData\FolderIcons\music.ico

What does this mean?
..\ goes to the folder above: "Documents";
..\ goes to the folder above "Documents", that is the root of the suite install.

Or, for example, the PortableApps folder:

IconFile=.\PortableAppsMenu\App\DefaultData\FolderIcons\portableapps.ico

.\ goes to the folder where that .ini file is currently, in this case, the "PortableApps" folder.

So, whit this in mind, you can easily make folders use custom icons made by you, just remember these tips.

About projects, I remember a project that allowed to change the flags on a folder, maybe the owner of the project can easily implement this, maybe not, but i don't remember its name... I do think it was made in AutoHotkey, and is on these forums.

Hope to have helped!

Blue is everything.

Sethionic
Offline
Last seen: 3 years 7 months ago
Joined: 2008-12-05 12:42
Attempt Result...

ScreenShot
It ignores my desktop.ini...

Bruce Pascoe
Offline
Last seen: 10 years 8 months ago
Joined: 2006-01-15 16:14
...

desktop.ini doesn't work unless the folder containing it has either the Read-Only or System attribute set (must be done from the command line). I prefer to use System since Read-Only causes problems when accessing the folder from Linux (which respects the flag for directories instead of treating it specially like Windows does).

Dagenham
Dagenham's picture
Offline
Last seen: 2 years 11 months ago
Joined: 2007-03-23 06:19
FolderIco

You may want to try FolderIco, it's able to handle these desktop.ini files (I can't recall, may even works with relative paths). Instructions for a portable installation can be found here.

Sethionic
Offline
Last seen: 3 years 7 months ago
Joined: 2008-12-05 12:42
FolderIco works great. Found

FolderIco works great.
Found the portable version here

..though the hidden .ico looks kind of weird

Log in or register to post comments