copy files by name patterns with wildcard
Thanks Gary, now I have two options:
1. Copy in a loop.
2. Wait for a response from a windows scripting expert.
Regards,
Stefi
€˛Gary Keramidas€¯ ezt Ć*rta:
i don't think there's any built in way, but someone that knows windows scripting
should know how to. the filecopy statement works with single files as far as i
know.
you say you know how to loop, so i didn't post any other solutions.
--
Gary
"Stefi" wrote in message
...
Hi All,
Can I copy files via VBA by name patterns with wildcard characters like in
DOS:
copy filename*.ext ...
I know how to find file names matching the pattern and copy them
individually (in a loop), my question is that can it be done with a single
statement?
Thanks,
Stefi
|