Batch file to copy directories recursively

前端 未结 4 1704
情书的邮戳
情书的邮戳 2020-12-01 00:40

Is there a way to copy directories recursively inside a .bat file? If so, an example would be great. thanks.

4条回答
  •  渐次进展
    2020-12-01 01:00

    After reading the accepted answer's comments, I tried the robocopy command, which worked for me (using the standard command prompt from Windows 7 64 bits SP 1):

    robocopy source_dir dest_dir /s /e
    

提交回复
热议问题