DaProgrammer Posted October 18, 2007 Posted October 18, 2007 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 !
DaProgrammer Posted October 18, 2007 Author Posted October 18, 2007 right click on desktop and hit refresh.tnx but wasnt born yesterday LOLi tried that, won't work
-Ultima- Posted October 18, 2007 Posted October 18, 2007 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. [ WinINet.au3 | Array.au3 (Optimized) | _UnixTimeParse() ]
tAKTelapis Posted October 18, 2007 Posted October 18, 2007 If it is the attributes thing: Start > Run > cmd.exe Then navigate to the folder containing desktop.ini attrib +s +h desktop.ini And it should change the attributes for you.
DaProgrammer Posted October 18, 2007 Author Posted October 18, 2007 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 attribFileSetAttrib($Folder, "+S")now it works fine
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now