@echo off/nsetlocal enabledelayedexpansion/n/nset 'root=%cd%'/nfor /r '%root%' %%a in (*) do (/n if not '%%~dpa'=='%root%' (/n set 'new_path=%%~dpa'/n set 'new_path=!new_path:%root%/=!'/n set 'new_path=%root%/%new_path%'/n move '%%a' '!new_path!'/n )/n)/n/necho All files moved to %root%/npause>nul/nexit


原文地址: https://www.cveoy.top/t/topic/oKeJ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录