中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-06 03:02
48,039 topics / 350,124 posts / today 2 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » [Help] Question for the moderator about a batch file problem extracting files from folders!
Printable Version  890 / 3
Floor1 binggao Posted 2007-10-10 23:40
初级用户 Posts 33 Credits 70
For example, inside one folder there are 100 folders, and each folder has subfolders and files in it. How can I extract all the files from all the subfolders inside that main folder into that main folder, and then delete all the subfolders inside the main folder (for example, if the files are images or text files)?
Floor2 lxmxn Posted 2007-10-11 00:01
版主 Posts 4,938 Credits 11,386

Put this batch file in the main folder to be processed and run it there.
Floor3 binggao Posted 2007-10-11 00:12
初级用户 Posts 33 Credits 70
Test succeeded. I really admire you, boss.
Floor4 hxwxyz Posted 2007-10-13 11:22
中级用户 Posts 123 Credits 245
Learning
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023