You are here

Changing Icons

5 posts / 0 new
Last post
bookmunkie
Offline
Last seen: 16 years 1 month ago
Joined: 2008-02-08 13:18
Changing Icons

I like visual consistency. The icons that come with the menu for Documents, Music, Pictures, etc, are very nice, so I edited one to use for my directory containing Autohotkey scripts with the hope of doing similar things in the future for my other directories. It seems that a directory's icon is defined by the Desktop.ini file it contains. So, to make an icon for my Scripts directory, I put the new icon in the same place as the others, grabbed a Desktop.ini, changed the infotip and the icon it points at, and put it in my Scripts directory. The new Desktop.ini has the same attributes as the others (Hidden, and Archive). All of that has made no change. To be sure the problem wasn't with my icon file itself I copied one of the originals and renamed it to folders-scripts.ico. Same problem here.

I imagine I'm overlooking something really silly here. Can anybody help me with this? Thanks.

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I dont know

what could have caused your error but wouldn't it be the simplest solution to just navigate to /PortableApps/PortableAppsMenu/App/DefaultData/IconTheme and replace the standard icon you want to change with your new one?

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
There's a flag (it looks

There's a flag (it looks like the read-only flag on files, but different) that tells Windows when to look for the desktop.ini file. It's not easy to set it from Explorer. The Explorer function to set an icon for a folder takes care of it for you, as you found the first time you tried it, but just moving the desktop.ini in doesn't do it.

That's what you're talking about, right, the way your folders look in Explorer?

Here's a "geek" way to do it, from a command prompt (dos window) that is looking at the root of your removable drive:

attrib +r \Scripts

You have to hit the Enter key after you type that in.

MC

bookmunkie
Offline
Last seen: 16 years 1 month ago
Joined: 2008-02-08 13:18
On the right track

I think that's on the right track, but it breaks the icon instead of replacing it with the one I want. If I do the same thing with a -r it restores the icon to the Windows default. I'm going to keep working at it.

bookmunkie
Offline
Last seen: 16 years 1 month ago
Joined: 2008-02-08 13:18
I tried it on a different

I tried it on a different computer and it worked just fine. Thanks, rab040ma. You rock

Log in or register to post comments