One, bat script:
tree/f >. \treef.txt
Folder PATH List volume serial number is 0003-c23ad:.│ new text Document-copy (2). txt│ New Text document-copy. txt │ new text document. txt │ ├─ folder 1│ new text Document-copy . txt │ new text document. txt │ ├─ folder 2│ new text Document-copy (2). txt│ new Text Document -copy. txt │ new text document. txt │ ├─ folder 3│ 2.txt│ └─ folder 4 │ 3.txt │ └─ new Folder
dir/s >. \dirs.txt
The volume in drive D is not labeled. The serial number of the volume is the directory of 0003-c23a D:\test 2016/05/10 17:49 <DIR>. 2016/05/10 17:49 <DIR>. 2016/05/10 17:49 <DIR> folders 12016/05/10 17:49 <DIR> folders 22016/05/10 17:49 <DIR&G T Folder 32016/05/10 17:49 <DIR> folder 42016/05/10 17:49 0 New text Document-copy (2). TXT2016/05/10 17:49 0 Create a new text document-a copy. TXT2016/05/10 17:49 0 New text document. txt 3 files 0 bytes D:\ Test\ Directory of folder 1 2016/05/10 17:49 <DIR>. 2016/05/10 17:49 <DIR>: 2016/05/10 17:49 0 Create a new text document-copy. TXT2016/05/10 17:49 0 Create a new text document. txt 2 files Directory of 0 Bytes D:\test\ folder 2 2016/05/10 17:49 <DIR>. 2016/05/10 17:49 <DIR>: 2016/05/10 17:49 0 Create a new text document-copy (2). TXT2016/05/10 17:49 0 New text document-copy. TXT2016/05/10 17:4 9 0 New text document. txt 3 Files 0 Bytes D:\test\ Folder 3 directory 2016/05/10 17:49 <DIR> 2016/05/10 17:49 < ;D ir>. 2016/05/10 17:49 0 2.txt 1 Files 0 bytes D:\test\ Folder 4 directory 2016/05/10 17:49 <d ir>. 2016/05/10 17:49 <DIR>. 2016/05/10 17:49 0 3.TXT2016/05/10 17:49 <DIR> new Folder 1 files 0 bytes D:\test\ Folder 4\ new folder directory 2016/05/10 17:49 <DIR>. 2016/05/10 17:49 <DIR>. 0 Files 0 bytes The total number of files listed: 10 files 0 bytes 17 Directories 22,265,397,248 Available Bytes
dir/d >. \dird.txt
The volume in drive D is not labeled. The serial number of the volume is the directory of 0003-c23a D:\test [.] [Folder 4] [..] New text Document-copy (2). txt[Folder 1] new text Document-copy. txt[folder 2] Create a new text document. txt[Folder 3] 3 files 0 bytes 6 directories 22,265,397,248 Available bytes
Generate a tree-like script Bat\python\shell