batch script to copy files from one location to another code example Example 1: cpoying data in batch xcopy /s c:\source d:\target Example 2: copy paste in batch mv 'file' 'destination'