Skip to content

PatrickAllanDale/Fix-Desktop-Icon-Handling-in-Windows-Explorer-Directory-Opus-C-Solution-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Shell Icon Handler Fix (Explorer + DOpus Full Compatibility)

🔥 Permanent Folder Icon Fix for Windows & Directory Opus

✅ Developed by: Patrick A. Dale (Sweden)

🎯 Solves the old bug with desktop.ini

  • Supports Windows Explorer
  • Supports Directory Opus
  • Supports Total Commander

📂 How it works:

1️⃣ First writes absolute path (Triggers DOpus)
2️⃣ Second write switches to relative path (makes icon permanent)
3️⃣ 96-byte padding for DOpus compatibility
4️⃣ Shell32.dll API call to force Windows icon cache refresh
5️⃣ Forces DOpus to rebuild via dopusrt.exe


📜 License

Apache 2.0

About

C# solution to ensure persistent folder icons in Windows Explorer and Directory Opus by manipulating desktop.ini file attributes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages