打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
windows cmd 查看文件目录树

windows cmd 查看文件目录树

tree /?:命令提示

tree:不输入任何参数,输出一棵目录树

  • 不显示文件,只显示目录;
D:.
├─ets
│  ├─FormAbility
│  ├─MainAbility
│  │  └─pages
│  ├─model
│  └─SecondAbility
│      └─pages
├─js
│  ├─widget
│  │  ├─common
│  │  ├─i18n
│  │  └─pages
│  │      └─index
│  └─widget1
│      ├─common
│      ├─i18n
│      └─pages
│          └─index
└─resources
    ├─base
    │  ├─element
    │  └─media
    ├─en_US
    │  └─element
    ├─rawfile
    └─zh_CN
        └─element

tree /F:递归显示目录结构;

  • 显示目录,也显示文件;
  • tree /F,在给出项目文件说明时,会十分有用;
D:.
│  config.json
│
├─ets
│  ├─FormAbility
│  │      form.ts
│  │
│  ├─MainAbility
│  │  │  app.ets
│  │  │
│  │  └─pages
│  │          index.ets
│  │          SecondPage.ets
│  │
│  ├─model
│  │      Logger.ets
│  │
│  └─SecondAbility
│      │  app.ets
│      │
│      └─pages
│              index.ets
│
├─js
│  ├─widget
│  │  ├─common
│  │  ├─i18n
│  │  └─pages
│  │      └─index
│  │              index.css
│  │              index.hml
│  │              index.json
│  │
│  └─widget1
│      ├─common
│      │      widget.png
│      │
│      ├─i18n
│      │      zh-CN.json
│      │
│      └─pages
│          └─index
│                  index.css
│                  index.hml
│                  index.json
│
└─resources
    ├─base
    │  ├─element
    │  │      color.json
    │  │      string.json
    │  │
    │  └─media
    │          icon.png
    │
    ├─en_US
    │  └─element
    │          string.json
    │
    ├─rawfile
    └─zh_CN
        └─element
                string.json

今天的小技巧就带大家了解到这儿

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Windows 通过CMD指令导出的文件夹/文件的目录树
windows11无法满足条件,可以试试这个方法
在Windows cmd.exe下面使用自动补全Clink.exe
VS Code-CC 环境的搭建
梦想云图Node.JS服务 ( 最近更新时间:2022-12-30 10:04:50 )
Windows下用CMake编译JsonCpp及配置(适合新手)
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服