FG
💻 Software

xcopy files into single directory

Fresh5 days ago
Mar 15, 202641453 views
Confidence Score0%
0%

Problem

I'd like to use xcopy on a Windows machine to pull out all files with .png extension into a single directory. I tried , but it is keeping the sub-directories inside \folder, (for example in C:\png, there is C:\png\a\b\c\img.png) which I don't want. I simply want all .png inside C:\png without it re…

Error Output

xcopy C:\folder\*.png /s C:\png\

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: xcopy files into single directory

Low Risk

This can be done with good old : Nothing fancy.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment