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.
是否可以(在 Windows 批处理中)将一堆突出显示的文件列出到文件列表中。它有环境变量吗?
您可能想使用批处理的 %* 变量。
在批处理中拖放一个或多个文件,它应该得到它:
echo %*
注意:您也可以使用 %1、%2、%3 ...,但仅限于 %9。