@CHill60 thanks for the reply. I tried
If [%1] == [] goto :eof
ECHO [.ShellClassInfo] >%1\desktop.in
ECHO IconResource=C:\icon.ico,0 >>%1\desktop.in
move %1\desktop.in %1\desktop.ini
attrib +S +H %1\desktop.ini
attrib +R %1
but may question is this if I may, in the code the location of icon is at C:/icon.ico.
What will I input instead as the location of icon file, since the icons are located inside individual folders, and it's named as "icon.ico"..
Thank you so much..
PS. I also tried
If [%1] == [] goto :eof
ECHO [.ShellClassInfo] >%1\desktop.in
ECHO IconResource=%1\icon.ico,0 >>%1\desktop.in
move %1\desktop.in %1\desktop.ini
attrib +S +H %1\desktop.ini
attrib +R %1
but still not working.
thanks