Windows batch script to move files

后端 未结 4 2167
滥情空心
滥情空心 2021-02-20 00:40

I need to move files from one directory to another in windows, and I need to write this in a batch script.

We have written a SQL job where backup files will be created e

4条回答
  •  天涯浪人
    2021-02-20 00:56

    You can try this:

    :backup move C:\FilesToBeBackedUp\*.* E:\BackupPlace\ timeout 36000 goto backup

    If that doesn't work try to replace "timeout" with sleep. Ik this post is over a year old, just helping anyone with the same problem.

提交回复
热议问题