Advertisement
dezindzer

Copy file to all folders in main folder

Aug 30th, 2018
505
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.21 KB | None | 0 0
  1. rem replace Folder location with the actual folder location and file.extension with the file destination you want to copy from
  2.  
  3. for /r "A:\PC\Desktop\Folder" %%i in (.) do @copy "A:\PC\Desktop\File.extension" "%%i"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement