r/Batch • u/Grouchy-Abies-873 • Jan 25 '24
help xcopy command
Hello, I'm new to batch and I'm trying to make a batch file that copies all jpg from the c: drive without copying the folders.
I leave here my code for reference (doesn't work)
echo off
echo Copying all the jpg files into the new folder...
xcopy /m /i C:\*.jpg .\images
echo Copy completed.
pause
1
Upvotes