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.
我正在寻找将复制文本文件中指定的文件夹的批处理文件代码。 所以在文本文件中
C:\User\ C:\Random\Random\Random 等等。 目的地将设置在 N:\Backups\PC
谢谢
set dest=N:\Backups\PC for /f %%i in (C:\dirs.txt) do copy "%%i" %dest%