rem 全盘文件树
@璐村惂鐢ㄦ埛_000076K馃惥 off
set ph=%cd%
cd \
for %%i in (C:\ D:\ E:\ F:\ G:\ H:\ I:\ J:\ K:\ L:\ M:\ N:\ O:\ P:\ Q:\ R:\ S:\ T:\ U:\ V:\ W:\ X:\ Y:\ Z:\) do (
if exist %%i (
tree %%i /f >%ph%\1.txt
)
)
@璐村惂鐢ㄦ埛_000076K馃惥 off
set ph=%cd%
cd \
for %%i in (C:\ D:\ E:\ F:\ G:\ H:\ I:\ J:\ K:\ L:\ M:\ N:\ O:\ P:\ Q:\ R:\ S:\ T:\ U:\ V:\ W:\ X:\ Y:\ Z:\) do (
if exist %%i (
tree %%i /f >%ph%\1.txt
)
)