
CODE: [Copy to clipboard][ Last edited by zw19750516 on 2008-6-3 at 11:44 PM ]@echo off&setlocal enabledelayedexpansion
for /r d:\test %%i in (.) do (
set str=%%i&set str=!str:~,-1!
cd\&cd /d !str!
purge
)
CODE: [Copy to clipboard]@echo off
for /r "C:\test" %%i in (purge) do start "" "%%i"
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |