I have to put some specific icons on folders and I had success doing that over all folders except the one that have some special characters.
I'm using windows7.
How it is done?
- creating a .ini file within the folder;
- running a command-line changing the attrib +s of that folder.
The only problem is on 2.
This works fine:
attrib +s "C:\Users\Public\cato"
This doesn't work and returns 'Path not found':
attrib +s "C:\Users\Public\cáto"
I have tried to do this:
attrib +s "C:\Users\Public\cáto\"
attrib +s "C:\Users\Public\c^áto"
attrib +s "C:\Users\Public\c^áto\"
and the problem persists.
What can be done in this spacial characters over folder names?
PS: This is the desktop.ini
file I save in the folder (1.) before running the command-line. Its [name].[ext] is 'desktop.ini' and its content is:
[.ShellClassInfo]
IconResource=%windir%\system32\imageres.dll,101
[ViewState]
Mode=
Vid=
FolderType=Pictures
Best Answer
I've just tested
attrib
and several other commands with filenames with Unicode characters, and all of them worked fine:Whatever your problem is, it doesn't seem to have anything to do with Unicode characters...
Out of curiosity, I've made another test in your exact same situation: using a folder with a custom icon and Unicode characters in its name, I've used
attrib
both on the "desktop.ini" file in the folder, and also on the folder itself:As you can see, it worked perfectly.