|
Rockbox mail archiveSubject: Re: Icon for your Archos!Re: Icon for your Archos!
From: Mat Holton <mathew.holton_at_surface-inspection.com>
Date: 2005-01-18
-----Original Message-----From: joerch.net@web.de <joerch.net@web.de>To: rockbox@rockbox.org <rockbox@rockbox.org>Sent: 18/01/2005 14:50Subject: RE: Icon for your Archos!>>I tried the script (against your advice) and it works great!
>by the way, the first script you can run twice, there were erroes with attrib..., here is the better one:
.........
@echo off
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
pause
..........
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
Page was last modified "Jan 10 2012" The Rockbox Crew |