@echo off
echo 1)删除所有共享...
for /f "skip=4 delims= " %%i in ('net share') do net share %%i /d
echo 删除完毕!
echo 2)检测共享清单:
net share
pause
@echo on
echo 1)删除所有共享...
for /f "skip=4 delims= " %%i in ('net share') do net share %%i /d
echo 删除完毕!
echo 2)检测共享清单:
net share
pause
@echo on