MSSQL 네트워크 드라이브 연결
Connect only. EXEC sp_configure 'how advanced options',1 RECONFIGURE EXEC sp_configure 'xp_cmdshell',1 RECONFIGURE EXEC XP_CMDSHELL 'net use Z: \\10.0.0.1\m$ password /user:administrator' EXEC XP_CMDSHELL 'dir Z:' Connect 및 Disconnect -- 고급 옵션 활성 EXEC sp_configure 'how advanced options',1 RECONFIGURE -- xp_cmdshell 활성 EXEC sp_configure 'xp_cmdshell',1 RECONFIGURE -- 네트워크 드라이브 연결 EXEC XP_CMDSHELL..
2020.12.04