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.

  • 相关阅读:
    P2519 [HAOI2011]problem a
    P1084 疫情控制
    P1941 飞扬的小鸟
    NOIP填坑计划
    P2831 愤怒的小鸟
    AGC 16 D
    P3960 列队
    Python3爬虫相关软件,库的安装
    软件理论基础—— 第一章命题逻辑系统L
    软件理论基础——导论
  • 原文地址:https://www.cnblogs.com/rsapaper/p/8780189.html
Copyright © 2011-2022 走看看