Copying a Folder and renaming it using command prompt

你说的曾经没有我的故事 提交于 2019-12-04 13:12:04
Colin
xcopy "C:\Test\ACDM\*.*" "C:\Test\ACDM1\" /s/h/e/k/f/c
for /f "delims=" %%a in (yourtextfilename) do xcopy "C:\Test\ACDM" "C:\Test\%%a\" /E

as a .bat file line. Directly from the prompt, change each %% to %

I've assumed (for lack of futher information) that your textfile contains just the one line

ACDM1
  • neither do you specify the textfilename tou want to use.
 xcopy C:\Test\ACDM C:\Test\ACDM1\ /E /Q
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!