将以下文件复制到一个文本文件中,保存为 批处理文件的后缀,双击运行即可。
title 指定命令提示窗口的标题
echo offcls
echo Please enter the specific folder path ( For instance: Directory=C:\ ), and then choose "save as" to save the file.
set /p Directory=Directory=
tree /f "%Directory%">%temp%\Directory.txt
%temp%\Directory.txt