Batch dir.bat that generates a beautiful structure tree in the current directory



Copy codeThe code is as follows:
@rem   The bat file name must not be “tree. Bat”, otherwise the tree command will be effective. I don’t know why  
@rem   It may be because the system directory has “tree. Com”, the system will be confused  
@rem   Use “dir. Bat” to write the name of the document  
@echo off 
rem   Generate a beautiful structure tree in the current directory  
tree /f > 1.TXT 

rem   Like the dir command, but each subordinate directory file is also listed  
DIR /S > 2.txt 

rem   List the current directory files concisely  
DIR /d > 3.txt

Recommended Today


Supervisor [note] Supervisor – H view supervisor command help Supervisorctl – H view supervisorctl command help Supervisorctl help view the action command of supervisorctl Supervisorctl help any action to view the use of this action 1. Introduction Supervisor is a process control system. Generally speaking, it can monitor your process. If the process exits abnormally, […]