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.
 

25 lines
756 B

@echo off
rem ****************************
rem Ñöåíàðèé: rardir_proc.bat
rem Äàòà ñîçäàíèÿ 7/13/2008
rem Ïîñëåäíåå èçìåíåíèå: 7/13/2008
rem Àâòîð: Øàøêèí Í. Ñ. kolan klmn
rem E-mail: xalava@bk.ru
rem ****************************
rem Îïèñàíèå: íà âõîäå ïîëó÷àåò ïîëíûé ïóòü
rem ê äèðåêòîðèè, êîòîðóþ òðåáóåòñÿ çààðõèâèðîâàòü.
rem Âñå \ â ïóòè äîëæíû áûòü çàìåíåíû ïðîáåëàìè (èëè tab),
rem íàïðèìåð, "c:" "Documents and Settings" "Ìàñÿíÿ" "ñæèìàåìàÿ ïàïêà".
rem Áóäó÷è çàïóùåííûì ñ òåêóùåé äèðåêòîðèåé "Ìàñÿíÿ",
rem ñîçäà¸ò â íåé àðõèâ "ñæèìàåìàÿ ïàïêà.rar".
rem ****************************
rem Ôàéëû: òðåáóåò rar ëþáîé âåðñèè
rem ****************************
:shift1
if not %2=="" (
shift /1
goto :shift1
)
rar a -as %1.rar %1