制作文件夹的索引目录可以再CMD中使用tree命令和dir命令。再结合>filename.txt来写入一个名为filename.txt的文件。其中tree命令生成的是树型的目录,非常直观。在使用dir 命令时使用/B参数生成的列表比较清晰。
Tree命令:H:\>tree /?Graphically displays the folder structure of a drive or path.
TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder. /A Use ASCII instead of extended characters.例如:D:\>tree d:/soft /F >filelist.txt