View Single Post
  #2875 (permalink)  
Old 03-20-2010, 06:57 PM
raidzero's Avatar
raidzero
N00b
Offline
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
Re: [DISCONTINUED]01-13[KITCHEN]6.5 NK-23518-TF2.1/2.5 & Titanium [UC/Sashimi]

to make something a system file, go to a command promt and type
Code:
attrib +s FILENAME
my kitchen automatically sets system attributes on required files, look in createrom.bat to see which ones and which attributes I set.

as fasr as the generate ingredients script, try this:
Code:
@ECHO OFF
REM generate Package List written for raidzero's kitchen by raidzero
pushd c:\users\ispmo151\downloads\wm\rz\EXT\RHOD\Baseline (just change this to the directory you want (e.g. c:\whatever\kitchen\path\RZ\EXT\Baseline)

dir /a:d /s /b | find /v "files" | find /v "0409" > ingredients.txt
(for /f "usebackq delims=" %%a in ("ingredients.txt") do @for %%b in ("%%a\..") do @echo %%~NXb\%%~NXa) > output.txt
del ingredients.txt

For /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do @(
Set Day=%%A
Set Date=%%B
Set Month=%%C
Set Year=%%D
Set All=%%B%%C%%D
)
echo %All%
rename output.txt %All%.txt 
move %All%.txt c:\users\ispmo151\downloads\wm\RZ\RUU\ (change the path to the kitchen for this too)
notepad c:\users\ispmo151\downloads\wm\RZ\RUU\%All%.txt (and this also)
__________________
Reply With Quote