开发者

move all files in a folder and all it's subfolders into one big folder - windows xp

开发者 https://www.devze.com 2023-03-11 07:59 出处:网络
I have a folder c:\\downloads\\ffme and inside it there 开发者_JS百科are loads of subfolders with various amounts of files in each of them.

I have a folder c:\downloads\ffme and inside it there 开发者_JS百科are loads of subfolders with various amounts of files in each of them.

I want to consolidate all those individual files into one big folder, removing them from their subfolders on the way. I want to end up with a folder with loads of files in it, but no subfolders. How can I do this?

thanks


The easiest way would be w/o a cmd... just open the folder in Windows Explorer and search for *.*, then select everything except the subfolders and drag/drop or cut/paste to the desired location.


Use standard file recursion but rather than maintaining a directory structure, move the final file, unless of course the name already exists, then you would need to allow for renaming so that the file is maybe prepended with a directory name to maintain the unique filenames.

Have you done any form of recursive code?

0

精彩评论

暂无评论...
验证码 换一张
取 消