How to customize a folder in Windows 7

Windows 7 offers the ability to customize the icons and images of folders by right-clicking on the folder, choosing Properties, and then the Customize tab, as described, for example, here .

Can this be done programmatically?

+3


source to share


1 answer


Yes, you can create the file desktop.ini

programmatically. The file is registered here .

You could, for example, rename a folder in an internationalization script (for example, a folder named "users" could be shown to the user as utilities on a French OS or Benutzer on a German OS) by creating a file with the following content:



[.ShellClassInfo]
LocalizedResourceName=@C:\foo\bar.dll,-100

      

which will take the name of the folder in the <100> id resource 100.

+1


source







All Articles