batch command copy file code example Example 1: cpoying data in batch xcopy /s c:\source d:\target Example 2: copy paste in batch mv 'file' 'destination'