cd d:/测试


for dir in `ls ./`
do
if [ -d "$dir" ];then
#newname=`echo $dir | sed -r 's/&/\&/g'`
mv "$dir"/* ./
fi
done