Jump to content

Desktop.ini


Recommended Posts

i created a file named Desktop.ini inside a folder and wrote there

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=126

the folders icon should change but it wont, what am i doing wrong ?

p.s. if i choose an icon from customize it writes the same in Desktop.ini, word for word !

Link to comment
Share on other sites

I *think* you need to set Desktop.ini to have the Hidden and System attributes, and you need to set the folder to have System attribute as well. This can be done using attrib from the DOS prompt.

tnx man, what i was missing is the folder attrib

FileSetAttrib($Folder, "+S")

now it works fine

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...