本帖最后由 bailong360 于 2015-5-1 00:28 编辑
- @echo off
- (for /d %%i in (*) do (
- echo %%~fi
- for /d %%j in ("%%~i\*") do echo %%~fj
- ))>list.txt
复制代码 ----------- @echo off
- (for /d %%i in (*) do (
- echo %%~fi
- for %%j in ("%%~fi\*") do echo %%~fj
- for /d %%j in ("%%~if\*") do (
- echo %%~fj
- for %%k in ("%%~fj\*") do echo %%~fk
- )
- ))>list.txt
复制代码
|