Skip to content

Instantly share code, notes, and snippets.

@ramayac
Created January 25, 2013 16:51
Show Gist options
  • Save ramayac/4635977 to your computer and use it in GitHub Desktop.
Save ramayac/4635977 to your computer and use it in GitHub Desktop.
A simple batch file to copy files from a txt file
@echo off
echo * copiando *
for /f %%l in (lista.txt) do (
for %%f in (%%l) do (
echo "L:\%%f"
copy "L:\%%f" .
)
)
echo * listo *
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment