复制代码 代码如下:
@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
)
时间: 2024-10-28 19:24:38
复制代码 代码如下:
@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
)