Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Icon for your Archos!

Re: Icon for your Archos!

From: Mat Holton <mathew.holton_at_surface-inspection.com>
Date: 2005-01-18

Excellent! I just found a simple script for converting jpgs to bmps!

for /r %%a in (*.jpg) do "C:\Program Files\XnView\nconvert.exe" -quiet -colors 256 -resize 64 64 -rtype linear -out bmp "%%a

-----Original Message-----From: joerch.net@web.de <joerch.net@web.de>To: rockbox@rockbox.org <rockbox@rockbox.org>Sent: 18/01/2005 13:31Subject: Re: Icon for your Archos!Hi, Mat, i got it!

individual folder icons for all folders in Windoze!!

This batch creates in every folder a desktop.ini with the following content:

[.ShellClassInfo]

ConfirmFileOp=0

IconIndex=0

IconFile="XXXX.bmp"

were XXXX is the folder name were the desktop.ini is created.

this requires a .bmp file named as the folder in all folders.

make_desktop_ico_all.bat

.............

@echo off

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

pause

..............

comments welcome!

joerch

______________________________________________________________

Verschicken Sie romantische, coole und witzige Bilder per SMS!

Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

_______________________________________________

http://cool.haxx.se/mailman/listinfo/rockbox

"Time is an illusion. Lunchtime doubly so!" -- Douglas Adams

Surface Inspection Ltd
www.surface-inspection.com
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Tue Jan 18 14:45:58 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa