Problem with folder icon using desktop.ini and batch

Discussion in 'Scripting' started by lysy.lbn, Jun 16, 2012.

  1. lysy.lbn

    lysy.lbn MDL Member

    Apr 20, 2011
    125
    65
    10
    #1 lysy.lbn, Jun 16, 2012
    Last edited by a moderator: Apr 20, 2017
    Hello, i have litle problem with desktop.ini folder icon customization...

    Basically what I do is copying iconname.ico, ico.bat to deserved to change icon folder and run that script
    ico.bat content is
    Code:
    @echo off
    echo.[.ShellClassInfo] >>desktop.ini
    echo.IconResource=icon.ico,0 >>desktop.ini
    move "*.ico" "icon.ico"
    attrib +h +s +a *.ini /s
    attrib +h +s +a *.ico /s
    but sadly it does not work :(
    Do anyone have a clue what am I doing wrong?
     
  2. lysy.lbn

    lysy.lbn MDL Member

    Apr 20, 2011
    125
    65
    10
    anyone?

    PS. Sorry moderators for double post