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