For/f "delims=" % % I in (' dir/a - d/b/s (C: \ Users \ \ Administrator \ \ Desktop \ Temp \ 1 *. * ') do (
Copy "% % I" "C: \ Users \ \ Administrator \ Desktop \ Temp \ " 2)
Pause
Ask, I will be the directory C: \ Users \ Administrator \ Desktop \ Temp \ 1 below all documents and a copy all files in the directory to C: \ Users \ Administrator \ Desktop \ Temp \ 2, found that meet the nuptial file is automatically covered, cause the file is missing, could you tell me how to solve this? Thank you very much!
CodePudding user response:
@ echo offFor/f "delims=" % % I in (' dir/a - d/b/s (C: \ Users \ \ Administrator \ \ Desktop \ Temp \ 1 *. * ') do (
Copy "% % I" "C: \ Users \ \ Administrator \ Desktop \ Temp \ " 2)
Pause
Ask, I will be the directory C: \ Users \ Administrator \ Desktop \ Temp \ 1 below all documents and a copy all files in the directory to C: \ Users \ Administrator \ Desktop \ Temp \ 2, found that meet the nuptial file is automatically covered, cause the file is missing, could you tell me how to solve this? Thank you very much!
CodePudding user response:
Send the wrong version?CodePudding user response:
Should not,The copy should be asked you?