View Single Post
  #2879 (permalink)  
Old 03-20-2010, 08:22 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]

Code:
@ECHO OFF
REM generate Package List written for raidzero's kitchen by raidzero
pushd c:\rz.brad_2.5.2012\EXT\RAPH\Baseline (not sure if there is a device subfolder in your kitchen)
 
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:\rz.brad_2.5.2012\RUU\ 
notepad c:\rz.brad_2.5.2012\RUU\%All%.txt
did it look like that?
__________________
Reply With Quote