Skip to content

Instantly share code, notes, and snippets.

@fcavalcantirj
Created March 14, 2018 18:34
Show Gist options
  • Save fcavalcantirj/8b5667ec4c0091ddd53710345fd51d62 to your computer and use it in GitHub Desktop.
Save fcavalcantirj/8b5667ec4c0091ddd53710345fd51d62 to your computer and use it in GitHub Desktop.
Simple batch file to copy folder (with subfolders) and it's content's to another location!!! Windows version
@ECHO OFF
title Copiar arquivos de uma pasta para outra pasta, renomeando
SET FROM="C:\Users\meta\Documents\Georgea"
SET TO="C:\Users\meta\Documents\Felipe"
echo copiando arquivos da origem %FROM% para %TO%
echo d | xcopy C:\Users\meta\Documents\Georgea C:\Users\meta\Documents\Felipe /e /y /f
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment