Rockbox mail archive
Subject: RE: Icon for your Archos!
RE: Icon for your Archos!
>>I tried the script (against your advice) and it works great!
The only thing is some of the icons are a bit wierd (it seems blacks/whites go a bit screwy)
Maybe they should be 16Bit color?
No, true colour is possible, but unneccessary. the pics are weird because of the resizing routine from windoze. If it is a pic for instance blach with thin lines white, windows see that most of the pixels are black and you get a black image.
by the way, the first script you can run twice, there were erroes with attrib..., here is the better one:
attrib -S -H /S desktop.ini
::reset attrib for desktop.ini, make ready for delete
for /D /R %%i in (*.*) do del "%%i\desktop.ini"
::delete desktop ini if in folder
for /D /R %%i in (*.*) do echo [.ShellClassInfo]>"%%i\desktop.ini"
::make desktop.ini and write first line
for /D /R %%i in (*.*) do echo ConfirmFileOp=0 >>"%%i\desktop.ini"
::write second line
for /D /R %%i in (*.*) do echo IconIndex=0 >>"%%i\desktop.ini"
::write third line
for /D /R %%i in (*.*) do echo IconFile="%%~ni.bmp" >>"%%i\desktop.ini"
::create icon.bmp with has the name of the directory were it in
::also see windows xp help keyword "for"
for /D /R %%i in (*.*) do attrib +H "%%i\desktop.ini"
::hide all desktop.ini's
attrib +S /S /D *.*
::change attributes to "system" for all folders (desktop.ini need that)
::::set attribute for all folders and files
attrib -S /S *.*
::::reset attributes only for files, workaround
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
Received on Tue Jan 18 15:50:47 2005
Page was last modified "Jan 10 2012" The Rockbox Crew