Batch script to copy all files but those in a list -



Batch script to copy all files but those in a list -

i looking write script re-create files contained in list. new @ found opposite of want...

@echo off set src_folder=c:\source\ set dst_folder=c:\destination /f "tokens=*" %%i in (list.txt) xcopy /s/e/u "%src_folder%\%%i" "%dst_folder%"

i backing folder total of files need skip few unimportant me.

i thought work. must have made error...

@echo off set src_folder=c:\source\ set dst_folder=c:\destination\ xcopy /s/e/u "%src_folder%\%%i" "%dst_folder%" /exclude /f "tokens=*" %%i in (c:\list.txt)

try

xcopy .... /exclude:list.txt

see

xcopy /?

from prompt documentation

batch-file

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -