View Single Post
  #2876 (permalink)  
Old 03-20-2010, 07:29 PM
Jbradthomas's Avatar
Jbradthomas
Regular 'Geeker
Offline
Location: USA
 
Join Date: Jul 2008
Posts: 294
Reputation: 505
Jbradthomas knows their stuffJbradthomas knows their stuffJbradthomas knows their stuffJbradthomas knows their stuffJbradthomas knows their stuffJbradthomas knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [DISCONTINUED]01-13[KITCHEN]6.5 NK-23518-TF2.1/2.5 & Titanium [UC/Sashimi]

Quote:
Originally Posted by raidzero View Post
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)
Yes, I edited the script before posting for help. Didn't know if I was missing something else.
__________________
JBTROM
Bare Essentials
OSBuilder Kitchen by Barin
Reply With Quote
This post has been thanked 1 times.