windows cmd 查看文件目录树

 

cmd or  powershell:

tree /? :命令提示;
tree     :不输入任何参数,输出一棵目录树,不显示文件,只显示目录;
tree /F :递归显示目录结构;显示目录,也显示文件;

重定向到文本文件
tree /f > info.txt
posted @ 2021-03-05 11:08  clovershell  阅读(762)  评论(0编辑  收藏  举报