Batch file to copy files from one folder to another folder

前端 未结 9 1642
臣服心动
臣服心动 2020-11-29 15:07

I have a storage folder on a network in which all users will store their active data on a server. Now that server is going to be replaced by a new one due to place problem s

9条回答
  •  天涯浪人
    2020-11-29 15:33

    Just to be clear, when you use xcopy /s c:\source d:\target, put "" around the c:\source and d:\target,otherwise you get error.

    ie if there are spaces in the path ie if you have:

    "C:\Some Folder\*.txt"
    

    but not required if you have:

    C:\SomeFolder\*.txt
    

提交回复
热议问题