批外理 移动子文件夹下的文件到当前目录并删除子目录
@echo off
attrib -s -h -r -a
for /f "delims=" %%i in ('dir /a:-d/b/s') do ( move /y "%%i" "%cd%" )
for /f "delims=" %%j in ('dir /a:d/b') do ( RD /s/q "%%j" )
exit
将以上保存为bat文件即可.
靓点博客
http://www.cnblogs.com/mlog 或 http://blog.csdn.net/cml2030