Thank you Pegasus! I had tried many variations of xcopy commands, but didn't
realize I needed the /s parameter.
"Pegasus (MVP)" <I.can@xxxxxx> wrote in message
> "D.P. Roberts" <dproberts@xxxxxx> wrote in message
>> I've been racking my brains over this one - seems like it should be so
>> easy but I haven't been able to do it using copy, xcopy, or anything
>> I need to copy all .html files within a directory and its subdirectories.
>> Anyone know how to do this in vbs or from a command prompt?
> How about this command?
> xcopy /s /c /y "c:\My Files\*.html" "c:\My Destination\"
> Type xcopy /? at the Command Prompt to see its many switches.