batch file to search and copy particular file

Une difficulté, une précision posez vos questions

Modérateur : WIN32-[GG]

Répondre
looksthatmatter
Batcheur occasionnel
Messages : 1
Enregistré le : 18 juil. 2013 21:00

batch file to search and copy particular file

Message 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.
Répondre