Search found 2 matches

by akki15623
16 Dec 2009 12:52
Forum: DOS Batch Forum
Topic: I want to create a batch script which can search for .jpg an
Replies: 10
Views: 11378

UNTESTED @echo off set "rootdir=c:\root folder to search" set "destdir=c:\where you want to copy" for /f "delims=" %%a in ('dir /b /s /a-d "%rootdir%\*.jpg" "%rootdir%\*.jpeg") do copy "%%~a" "%destdir%" Din't worked I ha...
by akki15623
15 Dec 2009 20:27
Forum: DOS Batch Forum
Topic: I want to create a batch script which can search for .jpg an
Replies: 10
Views: 11378

I want to create a batch script which can search for .jpg an

I want to create a batch script which can search for .jpg and .jpeg I am new to this script language, so don't no how to search, so I am posting this thread here. Please can anyone tell me the batch script which can search all drives and folders and subfolders in a computer for .jpg and .jpeg, once ...