I have a folder, and inside I have an .ico file that I want to set up as the icon to the main folder.
Here's my problem, if I do this manually and input this code
[.ShellClassInfo]
ConfirmFileOp=0
NoSharing=1
IconFile=folder.ico
IconIndex=0
InfoTip=Some sensible information.
in a desktop.ini file it works great.
But if a create a bat file with the following code it does not.
ECHO [.ShellClassInfo] >desktop.ini
ECHO ConfirmFileOp=0 >>desktop.ini
ECHO NoSharing=1 >>desktop.ini
ECHO IconFile=folder.ico >>desktop.ini
ECHO IconIndex=0 >>desktop.ini
ECHO InfoTip=Some sensible information. >>desktop.ini
The Output is exactly the same. I also assigned the +r to the folder because without it it doesn't work either way.
So what is wrong here?