- Batch Script Tutorial
- Batch Script - Home
- Batch Script - Overview
- Batch Script - Environment
- Batch Script - Commands
- Batch Script - Files
- Batch Script - Syntax
- Batch Script - Variables
- Batch Script - Comments
- Batch Script - Strings
- Batch Script - Arrays
- Batch Script - Decision Making
- Batch Script - Operators
- Batch Script - DATE & TIME
- Batch Script - Input / Output
- Batch Script - Return Code
- Batch Script - Functions
- Batch Script - Process
- Batch Script - Aliases
- Batch Script - Devices
- Batch Script - Registry
- Batch Script - Network
- Batch Script - Printing
- Batch Script - Debugging
- Batch Script - Logging
- Batch Script Resources
- Batch Script - Quick Guide
- Batch Script - Useful Resources
- Batch Script - Discussion
Batch Script - TREE
This batch command displays a tree of all subdirectories of the current directory to any level of recursion or depth.
Syntax
Tree
Example
@echo off tree
Output
The above command will display the tree structure of the current directory. Following is an example of the output.
Folder PATH listing for volume Windows8_OS Volume serial number is E41C-6F43 C:. ├───newdir ├───newdir1 └───newdir2
batch_script_commands.htm
Advertisements