Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Folder icons not displaying properly in explorer

28 May 2014   #1
nuclearmage

Windows 7 Professional 64 bit
 
 
Folder icons not displaying properly in explorer

So I've gone through the work of writing a custom java program to help modify my folder icons.
Said program
creates a desktop.ini file in each folder I run it on
writes this into the .ini file
Code:
[.ShellClassInfo]
ConfirmFileOp=0
IconFile=.\3-10 To Yuma.ico
IconResource=.\3-10 To Yuma.ico,0
Logo=.\3-10 To Yuma.ico
iconindex=0
sets the hidden attribute on the icon to hide it as I store the icon in the same directory as the desktop.ini and music/movie/game/insert file here.
sets the system attribute on the directory
sets the read only attribute on the directory
sets the hidden attribute on desktop.ini
sets the system attribute on desktop.ini


All in all, there should be no reason I can't see my folder icons, correct? After running my program, everything is modified and attributed as it should be without any glitch. But explorer still does not actually show me the folder icon for a thumbnail. Although I am using a program for this process, it should be identical to doing it manually.

HOWEVER, when I set "Change your view" to small, list, or details, the icon appears..although very small as the name implies. Even right clicking the file displays the icon properly on the properties pane.

right click>properties>customize>change icon> DOES work properly, but I have approx. 1.5-2k folders I'm looking to do icons for...thus the program that I wrote today. It would take obscene amounts of time to do it all through customize, and that sets an absolute path that would need to be edited in desktop.ini anyway.

Can anyone think of any reason that the icon is not displaying properly on "Large Icons"?
Also, does anyone know of a way to force windows to re-parse the desktop.ini more quickly so I don't have to play a waiting game with explorer? (F5 does not work for this)


My System SpecsSystem Spec
.
29 May 2014   #2
MilesAhead

Windows 7 32 bit
 
 

I would give this a try:
Icon Cache - Rebuild
My System SpecsSystem Spec
29 May 2014   #3
nuclearmage

Windows 7 Professional 64 bit
 
 

I found that solution recommended elsewhere also. No change in my folder's behavior from the rebuild
My System SpecsSystem Spec
.

29 May 2014   #4
MilesAhead

Windows 7 32 bit
 
 

Perhaps the ico file is corrupt or not structured correctly. I would try another .ico and see if it makes any change.
My System SpecsSystem Spec
29 May 2014   #5
nuclearmage

Windows 7 Professional 64 bit
 
 

Well, we're on to something now...

By itself, the new icon does not fix the problem completely.

If I run my program on the folder first to set all the attributes and modify the .ini first. THEN drop the new icon in, it occasionally works. When it does work I need to re-run my program on the folder for my own little OCD to make the icon hidden properly.

my ~absolute guess~ is that something with copying the new file is occasionally triggering a re-parse of desktop.ini...do you have any better ideas so we can take the guesswork out of this? I'd like to not have to play a guessing game on whether the icon is going display properly or not

Tried it on two folders with slightly different .ini characteristics..one without confirmfileop and the other without iconindex=0. One had the icon added, then rerun the program, the other I ran the program then dropped in the icon and re-ran the program. Neither is displaying properly in large icon view, both work in small icon view

EDIT: Also tried, out of curiosity, closing and restarting explorer.exe...does not fix the issue
My System SpecsSystem Spec
29 May 2014   #6
MilesAhead

Windows 7 32 bit
 
 

I haven't done much with this type of thing. Perhaps some of the regulars in Customization sub-forum will have some ideas. You could start a thread there and put a note here for the moderator to delete this thread, or ask for it to be moved. Moving it yourself would probably be faster though.

All I've done afa customization is install themes. The few times I played around with desktop.ini I ended up putting it back to defaults.
My System SpecsSystem Spec
29 May 2014   #7
nuclearmage

Windows 7 Professional 64 bit
 
 
Folder icons not displaying properly in explorer

Rebuilding Icon cache does not seem to resolve the issue.

Creating a new icon just in-case the old icon was corrupted somehow resulted in...
Quote:
By itself, the new icon does not fix the problem completely.

If I run my program on the folder first to set all the attributes and modify the .ini first. THEN drop the new icon in, it occasionally works. When it does work I need to re-run my program on the folder for my own little OCD to make the icon hidden properly.

my ~absolute guess~ is that something with copying the new file is occasionally triggering a re-parse of desktop.ini...do you have any better ideas so we can take the guesswork out of this? I'd like to not have to play a guessing game on whether the icon is going display properly or not

Tried it on two folders with slightly different .ini characteristics..one without confirmfileop and the other without iconindex=0. One had the icon added, then rerun the program, the other I ran the program then dropped in the icon and re-ran the program. Neither is displaying properly in large icon view, both work in small icon view

EDIT: Also tried, out of curiosity, closing and restarting explorer.exe...does not fix the issue
My System SpecsSystem Spec
Reply

 Folder icons not displaying properly in explorer




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
exe icons not displaying properly
Only if an exe file is selected. Rebuilding the icon cache didnt help. All other extension icons display fine. Is there a way to fix that? http://www.shrani.si/f/2f/ik/35DX2OQT/11.jpg
General Discussion
Start Menu Folder Icon Not Displaying Properly
I was wondering if anyone could help with an issue i'm having with open folder icons. For some reason the selected folders and also the 'open' folder option display correctly everywhere else but in start menu -> all programs, where it appears to be a broken link or something. I followed the...
Customization
All application icons not displaying properly
Okay, I am at my wits end. I have tried to repair. I rebuilt the icon Cache, and used the registry fix that was available here on the forum and nothing is working. Here is a screen shot to show what is wrong: http://i1201.photobucket.com/albums/bb355/willowskyfire/Untitled-1-3_zpseac2bcbd.jpg ...
General Discussion
Preview Icons Not Displaying, Sometimes No Icons Display in Explorer
After progressively getting worse, Windows Explorer now displays as seen in the screen shot (no icons are displaying). At first I thought it was taking time to build the icons, but it never does. the loading bar stays loading at 90%. The first few times it happened, I thought I was in a folder with...
Performance & Maintenance
Desktop icons, not displaying properly
I recently reinstalled Windows 7 and I copied my old appdata folder. I do not know if this is what is causing the issue, as it was causing invisible icons to be pinned to my start menu. Anyways, my current problem is, when I choose to display my desktop toolbar on the task bar, the toolbar...
General Discussion
Icons Not Displaying Properly
To All, I am running Windows 7 64 Home Premium and I recently installed a program called Glary Utilities. I created a shortcut and pinned it to the task bar and all was fine. The next time I rebooted, the icon in the task bar had changed to a blank looking page (a little awkward to...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App