zoukankan      html  css  js  c++  java
  • Windows中的Tree命令

    Windows中的Tree命令你会用吗? - 步行者的专栏 - CSDN博客 https://blog.csdn.net/hantiannan/article/details/7663893

    (venv1) D:pyCGlangcd1>tree
    文件夹 PATH 列表
    卷序列号为 0000-D760
    D:.
    ├─.idea
    ├─commons
    │  └─__pycache__
    ├─sdk0
    │  └─__pycache__
    └─visit
    
    (venv1) D:pyCGlangcd1>tree /F
    文件夹 PATH 列表
    卷序列号为 0000-D760
    D:.
    │  t__import__.py
    │  ycan.py
    │
    ├─.idea
    │      cd1.iml
    │      misc.xml
    │      modules.xml
    │      workspace.xml
    │
    ├─commons
    │  │  __init__.py
    │  │
    │  └─__pycache__
    │          __init__.cpython-37.pyc
    │
    ├─sdk0
    │  │  a.py
    │  │  __init__.py
    │  │
    │  └─__pycache__
    │          a.cpython-37.pyc
    │          __init__.cpython-37.pyc
    │
    └─visit
            __init__.py
    
    
    (venv1) D:pyCGlangcd1>tree /A
    文件夹 PATH 列表
    卷序列号为 0000-D760
    D:.
    +---.idea
    +---commons
    |   ---__pycache__
    +---sdk0
    |   ---__pycache__
    ---visit
    
    (venv1) D:pyCGlangcd1>tree
    文件夹 PATH 列表
    卷序列号为 0000-D760
    D:.
    ├─.idea
    ├─commons
    │  └─__pycache__
    ├─sdk0
    │  └─__pycache__
    └─visit
    
    (venv1) D:pyCGlangcd1>
    

      

    其实tree命令 是一个很不错的功能。可以把指定文件夹的所以文件用树状罗列出来。然后我们查看树状结构就能够了解有那些文件,然后我们在去查看需要关心的有那些文件就可以了。

    用法:TREE [d:][path] [/A][/F]

    /A - Specifies that alternative characters (plus signs, hyphens, and vertical bars) be used to draw the tree diagram so that it can be printed by printers that don`t support the line-drawing and box-drawing characters (DOS Versions 4 and 5).

    /F - Displays the names of the files found within each directory listed.

  • 相关阅读:
    physicsbased animation阅读计划
    读代码的一点感想
    Paired Joint Coordinates
    坐标变换
    ADO.NET用法示例
    希腊字母读法
    数据库系统概论(第三版)学习笔记
    在网页里让文本框只能输入数字的一种方法。外加回车换Tab (javascript key键的使用)+禁止切换输入法转
    常用的一些javascript小技巧
    在.NET2.0中上传文件操作(解决了上传文件大小和多文件限制)转
  • 原文地址:https://www.cnblogs.com/rsapaper/p/8780189.html
Copyright © 2011-2022 走看看