0 Replies Latest reply: Mar 31, 2015 4:30 AM by pavan Kumar RSS

    how to copy duplicates using execute command

      Hi I am using Execute command code to move one folder files to another. But I want to keep the duplicates also. Is there any way to change this code.

       

      set "source=%~1"

      set "targetRoot=%~2"

       

       

      for %%F in ("%source%\*") do (

       

       

          move "%%F" "%targetRoot%"

       

      )


      Thanks

      Pavan