Copy files off folder and sub-folder

March 9, 2011 at 15:33:32
Specs: Windows 7

I need help in a batch file to copy files that are on a list.txt from folders and sub-folders to another folder.
The files are on a network.
Many thanks

I have this code but nothing happens for some reason.

@echo & setlocal
pushd \\nclitsup02\litsup\Images0099\024428\002001\MPT003\NATIVE
for /f "tokens=*" %%a in (LIST.txt) do (
for /f "tokens=* %%b in ('dir /s /a-d /b %%a') do copy %%b COPIEDFILES

See More: Copy files off folder and sub-folder

Report •

March 10, 2011 at 01:59:53
Much depends on what's in LIST.txt.

Life is too important to be taken seriously.


Report •
Related Solutions

Ask Question