2008. október 2., csütörtök

OPR ZH1 by Levi

@echo off

set a=%1
set b=%2
set c=%3

if defined c (echo %a% > tmp.txt & echo %b% >> tmp.txt & echo %c% >> tmp.txt & sort tmp.txt & del tmp.txt) else (echo nincs 3 parameter)

---

@echo off

if not EXIST "masolat" (md masolat)
copy c:\windows\system32\*.%1 .\masolat
for /f %%A in (adat.txt) do (del .\masolat\%%A)