https://www.techrepublic.com/article/check-access-permissions-on-shares/
echo. %date% %time% > c:\srvcheck\srvcheck.txt
echo. >> c:\srvcheck\srvcheck.txt
echo. Share drives on QCFILESERVER1 >> c:\srvcheck\srvcheck.txt
echo. --------------------------------------------- >> c:\srvcheck\srvcheck.txt
c:\srvcheck\srvcheck \qcfileserver1 >> c:\srvcheck\srvcheck.txt
echo. >> c:\srvcheck\srvcheck.txt
echo. %date% %time% >> c:\srvcheck\srvcheck.txt
echo. Share drives on QCFILESERVER2 >> c:\srvcheck\srvcheck.txt
echo. ------------------------------------------------>> c:\srvcheck\srvcheck.txt
c:\srvcheck\srvcheck \qcfileserver2 >> c:\srvcheck\srvcheck.txt
本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/2057838如需转载请自行联系原作者
520feng2007