通过脚本创建共享文件夹

创建共享文件夹:

set path=%~dp0

start net user student 123456 /add

start net user student /active:yes

start net share Teach=%path%Teach /users:20

start cacls %path%Teach /e /p student:r

删除共享文件夹:

echo off

start net share Teach /delete

start net user Guest /active:no

如果觉得好用,请双击评论666~!

你可能感兴趣的:(项目输出)