Subj : Re: A little batch file magic
To   : Sean Dennis
From : Peter Knapper
Date : Wed Jan 18 2006 09:15 pm

Hi Sean,

PK>  for %%f in (*.mo? *.tu? *.we? *.th? *.fr? *.sa? *.su?) copy %%f
PK> d:\backup

SD> Unfortunately, that didn't work.

Ooops, try adding the word DO before "copy".........;-)

EG:

[E:\Z]for %f in (sq?.msg) do copy %f \y

[E:\Z]copy sq1.msg \y
       1 file(s) copied.

[E:\Z]copy sq2.msg \y
       1 file(s) copied.

[E:\Z]copy sq3.msg \y
       1 file(s) copied.


Cheers...........pk.


--- Maximus/2 3.01
* Origin: Another Good Point About OS/2 (3:772/1.10)