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:\我想D:\使用批处理文件将文件夹及其子文件从移动到移动。
C:\
D:\
我怎样才能做到这一点?
我认为没有办法跨驱动器移动文件夹。这种“移动”只是复制后删除。所以你可以这样做:
xcopy c:\example d:\example /S /E rmdir /S c:\example