copy files only with a particular name

September 7, 2009 at 00:05:21
Specs: Windows XP
I want to copy files with a particular file name series from one folder to the other...
Fox example...I want to copy all pdf files starting with "A" to a folder called "A Series". How do i do it through ms dos batch file

See More: copy files only with a particular name

Report •


#1
September 7, 2009 at 00:53:17
@echo off
if not exist "\A Series" md "\A Series"
pushd Source_Folder
copy "A*.pdf" "\A Series"
popd
:: End_Of_Batch


Report •
Related Solutions


Ask Question