Obsolete!!! Fucking old examples...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1015 B

5 years ago
@echo off
rem ****************************
rem �業�਩: rardir.bat
rem ���� ᮧ����� 7/5/2008
rem ��᫥���� ���������: 7/12/2008
rem �����: ��誨� �. �. kolan klmn
rem E-mail: xalava@bk.ru
rem ****************************
rem ���ᠭ��: ᨭ�஭������� (ᮧ���� ���
rem ����室������) ��娢 � ���࠭���
rem ��४��ਥ�. �᫨ ��४����� ������
rem ��ࠬ��஬, �� ��娢 ᮧ������ � ⥪�饩
rem ��४��ਨ, ����� - � த�⥫�᪮�.
rem ****************************
rem �����: �ॡ��� rar �� ���ᨨ
rem � ����㯠 � �६����� ��४��ਨ,
rem ��।��񭭮� � ��६����� TMP
rem ****************************
if '%1'=='' (
cd > "%TMP%\rardir.tmp"
for /f "usebackq tokens=1-31 delims==\" %%A in (`type "%TMP%\rardir.tmp"`) do (
cd ..
del /s/q/f "%TMP%\rardir.tmp"
rardir_proc.bat %%A "%%B" "%%C" "%%D" "%%E" "%%F" "%%G" "%%H" "%%I" "%%J" "%%K" "%%L" "%%M" "%%N" "%%O" "%%P" "%%Q" "%%R" "%%S" "%%T" "%%U" "%%V" "%%W" "%%X" "%%Y" "%%Z"
goto :EOF
)
)
else (
rar a -as %1.rar %1
)