So I'm trying to use XP_CMDSHELL to set up my drive for using a backup. I already have the drive mapped, but per http://blogs.msdn.com/b/varund/archive/2009/06/04/backup-sql-server-database-to-a-share-drive-on-another-server.aspx, I figured I'd need to mount the drive using net use.
But when I do, I get System error 53, 'The network path was not found.'
EXEC XP_CMDSHELL 'net use S: \\sql-backup'
I know this unc is accessible from the server because it is mounted as a network share on the sql server.
Any ideas why the unc is unreachable?