1.

Solve : Batch file to move certain files+in sub folders?

Answer»

Hey,

I am looking for a SOLUTION on how to create a batch file to move all files with the extension .avi PLUS if there are any .avi in sub folders to move them too.



Example in pseudo code

Move C\Videos\*.avi TO D\Other videos
Move C\Videos\different folder names\*.avi TO d\Other Videos

Thanks in advance

for /f "delims=" %%A in ('dir /s /b c:\videos\*.avi') do move "%%A" "d:\other videos"



Discussion

No Comment Found