Search found 3 matches

by akira71
27 May 2011 08:28
Forum: DOS Batch Forum
Topic: Copy files from text list?
Replies: 1
Views: 2530

Copy files from text list?

Does anyone know if it is possible to create a batch file that will use xcopy but only search in a given set of directories, and all levels below it, as specified in a text file (i.e. the list could be updated without having to recode the .bat file)? In case this isn't clear, the text file might loo...
by akira71
27 May 2011 07:48
Forum: DOS Batch Forum
Topic: Newbie question (probably!)
Replies: 4
Views: 4700

Re: Newbie question (probably!)

Thanks all . Those both worked in their own ways. The end product looks like this (in case anyone else ever needs it): @echo off cls :sets set /p "default=Search in what directory?: " set /p "search=Copy all files matching what characters?: " set /p "destination=Copy where?:...
by akira71
24 May 2011 14:26
Forum: DOS Batch Forum
Topic: Newbie question (probably!)
Replies: 4
Views: 4700

Newbie question (probably!)

I'm trying to create a batch file to search for files with a word in their title, in both a directory and sub-directory and then copy it to a stated location (this doesn't need to be interactive). I'm a complete batch file newbie, so I have not a single clue where to start. I found a file on the net...