dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Icon for your Archos!

Re: Icon for your Archos!

From: <>
Date: Tue, 18 Jan 2005 12:26:07 +0100

>>That is really cool. Do you know a) if there's a way of automatically creating
the desktop.ini files (using an image, I already have in the dir (of the same name))?
and b) if there is (much) drain on resources having all those different icons for folders?


Hi Mat, I understand... you want have your album covers as icons for every folder...

b) i hadn't tested thizz with many icons, try it out if windows gets soft knees...

a) i'm not a script or whatever guru, but try this batch:

_at_echo off
attrib +S "%1"
cd "%1"
echo [.ShellClassInfo]>desktop.ini
echo ConfirmFileOp=0 >>desktop.ini
echo IconIndex=0 >>desktop.ini
echo IconFile="%1.bmp" >>desktop.ini
attrib +H desktop.ini


the line iconindex is not really neccessary here, only if you want to extract icons from exe or dll files as folder icon.

run it in the directory were myfolder exists with

makeico myfolder

it does:

-change the folder attribute to system
-creates a desktop.ini and fill with constant strings
-add a line with variable string.

make sure there exists an icon-file named myfolder.bmp.

now you must do some for /R stuff to scan the whole drive recursively.

By the way: an good commandline tool is included in xnview (free) its called nconvert.


nconvert.exe -quiet -colors 256 -resize 64 64 -rtype linear -out bmp "%1"

you can convert nearly all images to bmp /ico or whatever.

hope that helps a little...


Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren!

Received on 2005-01-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy