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
529 B

@echo off
rem ****************************
rem Ñöåíàðèé: cleardirs.bat
rem Äàòà ñîçäàíèÿ 10/24/2008
rem Ïîñëåäíåå èçìåíåíèå: 10/24/2008
rem Àâòîð: Øàøêèí Í. Ñ. kolan klmn
rem E-mail: xalava@bk.ru
rem ****************************
rem Îïèñàíèå: î÷èùàåò âñå ïàïêè
rem â âûáðàííîé äèðåêòîðèè
rem ****************************
rem Ôàéëû: òðåáîâàíèÿ ñêðîìíûå
rem ****************************
if '%1'=='' (
for /d %%i in (*) do (
cleardir "%%i"
)
)else (
for /d %%i in (%1\*) do (
cleardir "%%i"
)
)