Page 1 sur 1

batch file to search and copy particular file

Posté : 18 juil. 2013 21:03
par looksthatmatter
hi,
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.