今天是个好日子,
刚开始在这个论坛^^
我能够在命令窗口中运行tree命令,并能够将数据导出到文件中
但是,对于速度较慢/不知道的用户,我想创建一个批处理文件,
所有放置的都是主路径或url,批处理将为它们创建文件,
我在批处理中实现"树命令"时遇到问题
@echo off
color 0A
Title Export data
echo write the path you want to see the folder structure for:
set /p path=">>"
cd /d %path%
tree /a >>results.xls
pause
exit
Run Code Online (Sandbox Code Playgroud)
谢谢你的时间,
batch-file ×1