shugeer 当前离线
列兵
@echo off set /p outputPath=请输入根目录: set /p importTxt=请导入用户列表(*.txt): for /f "tokens=1 delims= " %%j in ('more %importTxt%') do ( mkdir %outputPath%\%%j echo Y (cacls % outputPath%\%%j /C /G %%j:F)复制代码
gawk 当前离线
少将
@echo off set /p outputPath=请输入根目录: set /p importTxt=请导入用户列表(*.txt): for /f %%j in ('type %importTxt%') do ( mkdir %outputPath%\%%j echo Y|cacls %outputPath%\%%j /C /G %%j:F )复制代码
TOP
@echo off set /p outputPath=e:\test2: set /p importTxt=(e:\test2\user.txt): for /f "tokens=1 delims= " %%j in ('more %importTxt%') do ( mkdir %outputPath%\%%j ) echo Y (cacls % outputPath%\%%j /C /G %%j:F)复制代码
评分人数
GNU 当前离线
上尉