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.
 

24 lines
580 B

@echo off
rem ****************************
rem Ñöåíàðèé: lastparm.bat
rem Äàòà ñîçäàíèÿ 7/15/2008
rem Ïîñëåäíåå èçìåíåíèå: 7/15/2008
rem Àâòîð: Øàøêèí Í. Ñ. kolan klmn
rem E-mail: xalava@bk.ru
rem ****************************
rem Îïèñàíèå: çàíîñèò ïîñëåäíèé
rem ïàðàìåòð â ïåðåìåííóþ, çàäàííóþ
rem ïåðâûì ïàðàìåòðîì, íàïðèìåð
rem call lastparm v1 Âàñÿ Êîëÿ Ïåòÿ
rem çàíåñ¸ò Ïåòÿ â ïåðåìåííóþ v1
rem ****************************
rem Ôàéëû: òðåáóåò lastarg.bat
rem ****************************
:shift1
if not '%3'=='' (
shift /2
goto :shift1
)
set %1=%2