CMD: Search and copy specific files on your computer

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Okay, i just had to search for specific files on my computer and i wanted to have them copied to a specific folder. This is some kind of note for myself but maybe you can make use of it too .. don’t know. Logo_cmd

c:\>FOR /F "Tokens=*" %i in (‘DIR /B /S *map*.png’) do md "c:\temp\icons\map%~pi
" | copy "%i" "c:\temp\icons\map%~pi"

1 thought on “CMD: Search and copy specific files on your computer

  1. please explain me better, I’m a beginner and just put the command, not explained it all, my objective is this, find notepad.exe and copy it to a folder on the C drive called Cost. please I would greatly appreciate it

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.