Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要获取目录中的所有文件,包括所有目录中的文件。
我发现这篇文章获取了目录的所有文件,但它是针对当前级别文件的,不会更深入。
也许已经有一个内置函数可以做到这一点?
要列出当前目录和子目录中的所有文件,请使用:
dir /s