ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

IDEA: Drag and drop folder icon replacer

<< < (4/7) > >>

Rockets:
I added xxxx.ico
-c.gingerich (July 18, 2016, 03:22 PM)
--- End quote ---
don't see it
can you make it optional what to use?

One more problem, how can we refresh icons cache in Win 7 and 10? Rebuild Shell Icon Cache doesn't work for me
http://www.sordum.org/9194/rebuild-shell-icon-cache-v1-1/

Rockets:
confirmed
-Rockets (July 18, 2016, 03:54 PM)
--- End quote ---
unconfirmed. IconResource is working under win 10. What permissions does your app set?I will try to understand why.

PS: Windows 10 doesn't refresh icon folder everytime. I will try to find any solution.
Found this:



Use a shell function that will notify all running Explorer windows to use the updated desktop.ini. This API is exposed in VBScript via Shell.Application.NameSpace("folder\").MoveHere:


--- ---@echo off
for /r %%I in (*.ico) do (
    attrib -h -s -r "%temp%\desktop.ini" >nul
    (
        echo [.ShellClassInfo]
        echo IconResource="%%~nxI",0
    )>"%temp%\desktop.ini"
    attrib +h +s "%temp%\desktop.ini"
    (
        echo set shell = CreateObject^("Shell.Application"^)
        echo set folder = shell.NameSpace^("%%~dpI"^)
        echo folder.MoveHere "%temp%\desktop.ini", 4+16+1024
    )>"%temp%\updateIcon.vbs"
    cscript //nologo //b "%temp%\updateIcon.vbs"
)
pause
P.S. I forgot most of VB so whoever remembers it may rewrite the entire code in VBS (embedded).


How can I run this code?
http://stackoverflow.com/questions/33309382/changing-desktop-ini-doesnt-update-folder-icon-automatically-in-windows

skwire:
Apologies for the delay; here's my offering: FolderIconTool

IDEA: Drag and drop folder icon replacer

Rockets:
I tried under Win 7 and 10 to change folder icon with right click-properties-customize-change icon

Windows writes in both cases IconResource=XXX.ico,0, so we can delete
IconFile=XXX.ico
IconIndex=0
completely. It is not needed at all.

skwire:
I tried under Win 7 and 10 to change folder icon with right click-properties-customize-change icon

Windows writes in both cases IconResource=XXX.ico,0, so we can delete
IconFile=XXX.ico
IconIndex=0
completely. It is not needed at all.
-Rockets (July 18, 2016, 05:36 PM)
--- End quote ---

Does it really matter if it's there or not?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version