batch file to search and copy particular file

i have been trying to make a batch file which does the following:
1. search all drives for *.jpg,ppt,pptx, pdf and doc and docx files.
2. it should not search the folders like "windows" and "program files"
3. it should detect the usb drive and copy the files in usb in a folder and hide it.

i would appreciate if anyone can share the batch file or the code for this in DOS.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!