慕夜蓝化 当前离线
四级士官
@echo off set/p a=请输入路径: :a set sole=%a:~0,1% set a=%a:~1% if not "%a%"=="" ( if "%sole%"=="\" ( set/a n+=1 ) ) else ( goto :b ) goto :a :b echo,文件在%n%层目录下&pause&exit复制代码
TOP